Rendering of near and distant objects(SceneGraph) onto same canvas!

Started by thtj, July 18, 2010, 09:59:23 PM

Previous topic - Next topic

thtj

Hi There

Is it possible to render two scenegraphs on to the same canvas!

I am new to jPCT and consider using this 3D engine for a Android project.

I am experienced in programming for Java3D, so the concepts are not alien to me, although the terminology of jPCT is a bit different to that of Java3D.

What I need jPCT to do is the ability to render two scenegraphs(World's??) onto the same canvas(Framebuffer??) Is this possible with jPCT?

Thanks in advance!

/THTJ

EgonOlsen

Yes, it's possible. I used to use this approach to render the skybox, i.e. the scene was one world, the skybox another. I've never tried this with the Android version though, but it should work. If it doesn't, it's a bug that has to be fixed... ;)

thtj

Excellent is there a demo of this Skybox method somewhere!? ;D

Quote from: EgonOlsen on July 18, 2010, 10:05:21 PM
Yes, it's possible. I used to use this approach to render the skybox, i.e. the scene was one world, the skybox another. I've never tried this with the Android version though, but it should work. If it doesn't, it's a bug that has to be fixed... ;)