Comments (4)
How would you want to use gothic's engine code? There is no source code for it. If you want to re-implement it go ahead. But fixing flaws would probably be easier.
from gd3d11.
I mean, Does dx11 hook PFX functions of gothic engine so it can be easily turned off, or dx11 renders it in one common function?
Using word "PFX" I mean visual of spells. (zCParticleFX)
from gd3d11.
See:
void GothicAPI::DrawParticlesSimple()
at
https://github.com/ataulien/GD3D11/blob/master/D3D11Engine/GothicAPI.cpp#L851
This (i think) renders zCParticleFX if it is inside ParticleEffectVobs
list and near camera.
In the same file you can find
void GothicAPI::OnAddVob(zCVob * vob, zCWorld * world)
and
void GothicAPI::OnRemovedVob(zCVob * vob, zCWorld * world)
which add and remove particles to/from ParticleEffectVobs
.
Here is class for interaction with particle data through hooks:
https://github.com/ataulien/GD3D11/blob/master/D3D11Engine/zCParticleFX.h
It seems like calling its destructor also leads to removal of pfx from ParticleEffectVobs
.
So yes, if you make void GothicAPI::DrawParticlesSimple()
(or some render function it calls) not do anything it won't render. But then pfx will not render at all.
from gd3d11.
Thanks, I will try.
from gd3d11.
Related Issues (20)
- "Failed to find GD3D11 systemfiles!"
- Black Screen after some time HOT 4
- Computer Restarts after Loading in the game
- Beliar statue and corrupted Innos statue cause invisible ui. HOT 1
- Black Screen and low Fps Fire Spells
- d3dx11_43.dll was not found HOT 2
- Gothic 1 \ 2 won't start at all with ddraw.dll HOT 2
- Intel Iris 6100 HOT 1
- grid line when moving HOT 2
- Shrink monster scroll effect not working
- Only performance boost HOT 3
- Parts of indoor world mesh not rendered after crash
- Game crashes on save HOT 1
- [G2] Tesselation Glitch
- Unable to load game in windowed mode
- [G1] Linux access violation HOT 1
- How can I get default graphic settings using d3d11 renderer? HOT 2
- 1 HOT 1
- WATERFALL ISSUES HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gd3d11.