Page 1 of 1

Volumetric Clouds code

Posted: Thu Oct 05, 2023 10:50 am
by Saturn7_dev
I'm trying to incorporate some C++ code into the CopperCube source code but I am having an issue with the final run on every frame part.

I have taken the code out of the existing namespace 'smoothly' and placed the sub class 'cloud' into CC source in the scene manager (CSceneManager.h, CSceneManager.cpp).

Everything seems to be ok except for the on frame running once the constructor initializes the volumetric cloud setup.
I cant seem to get the correct syntax to get it to run on every frame.

Original instructions was this:

## Instructions
smoothly::cloud C(driver,scene);
Then call C.renderSky() at each frame

But I have changed it to initialize with: CSceneManager::cloud C(Driver,this);
and on every frame with: C.renderSky();


Can anyone help me getting this to run ???

source data and all files: https://easyupload.io/cnzp93

Re: Volumetric Clouds code

Posted: Thu Oct 05, 2023 1:59 pm
by CuteAlien
For CopperCube questions you should probably use their forum: https://ambiera.com/forum.php
I'm not sure if we have anyone here working with it even Irrlicht and CC share a lot of heritage.

edit: Hehe, I see you posted there already as well. Ah well, let's hope someone can help :-)

Re: Volumetric Clouds code

Posted: Sun Oct 15, 2023 11:25 am
by Saturn7_dev
To be honest no one of the CopperCube forum knows anything about the engine at all expect one who either doesn't know or refuses to help.
That forum is for children mostly who have trouble adding a screen meter...