Objects not ordering correctly.
2 posters
Objects not ordering correctly.
Hi, this is (hopefully) a very simple question, but one that I've been banging my head against for way too long.
I'm trying to learn how SIO2 works from "basic principals" (aka starting from scratch and figuring it out), but for some reason I'm not able to have a very simple scene rendered relatively easily.
My blender scene is simple: A cube sitting on top of a plane. This is what I'm getting:
When running one of the tutorial .sio2 files (using the same code, just replacing the resource), everything renders fine, so my theory is that there's something wrong with my export from Blender.
Can someone please point the way here? I've been tinkering with this for a few days now, and it's driving me up the wall!
Thanks.
(ps. sio2interactive: This is a fantastic resource you've provided here, and I'm amazed at the quality of the product you've provided! I'm not sure if I'll ever get around to releasing something "indie" or not, but I'll definitely be donating in the near future. Good work and thanks for all your efforts!)
I'm trying to learn how SIO2 works from "basic principals" (aka starting from scratch and figuring it out), but for some reason I'm not able to have a very simple scene rendered relatively easily.
My blender scene is simple: A cube sitting on top of a plane. This is what I'm getting:
When running one of the tutorial .sio2 files (using the same code, just replacing the resource), everything renders fine, so my theory is that there's something wrong with my export from Blender.
Can someone please point the way here? I've been tinkering with this for a few days now, and it's driving me up the wall!
Thanks.
(ps. sio2interactive: This is a fantastic resource you've provided here, and I'm amazed at the quality of the product you've provided! I'm not sure if I'll ever get around to releasing something "indie" or not, but I'll definitely be donating in the near future. Good work and thanks for all your efforts!)
shaggy- Posts : 7
Join date : 2009-06-26
Re: Objects not ordering correctly.
Are you using the template project or your own? Cuz that top bar shouldn't be there if you are using the template project... anyway looks to me that the depth function is not right... make sure that depth test is ON...
Re: Objects not ordering correctly.
That did the trick, thanks!
It's always the simplest things you overlook which take up so much time...
It's always the simplest things you overlook which take up so much time...
shaggy- Posts : 7
Join date : 2009-06-26
Re: Objects not ordering correctly.
btw, re: the top bar.
I'm working off of a new project using a static library version of the sio2 code, and only adding elements as I work on them and (most importantly) fully understand them. At the moment, I'm only up to rendering simple scenes w/ textures. Next up: Motion!
I'm working off of a new project using a static library version of the sio2 code, and only adding elements as I work on them and (most importantly) fully understand them. At the moment, I'm only up to rendering simple scenes w/ textures. Next up: Motion!
shaggy- Posts : 7
Join date : 2009-06-26
Similar topics
» Proper z-ordering of transparent objects without texture
» duplicating objects at runtime and changing textures on the duplicated objects
» Transformations not happening
» trouble seeing objects
» Wireframe objects
» duplicating objects at runtime and changing textures on the duplicated objects
» Transformations not happening
» trouble seeing objects
» Wireframe objects
Permissions in this forum:
You cannot reply to topics in this forum