Hi, i have a very strange problem with my app, i have two 3D objects made with 3DEditor and i want to display it on the screen but for odd reasons i can't display two objects at once... Here is what i do, i don't think it's wrong, the init part is from the Torus demo (i use SaturnOrbit): Code: | | | slPushMatrix(); { slTranslate(posl[X], posl[Y], posl[Z]); slScale(sca[X], sca[Y], sca[Z]); slRotX(angl[X]); slRotY(angl[Y]); slRotZ(angl[Z]); slPutPolygonX((XPDATA *)&gxpdata_0, light); } slPopMatrix(); slPushMatrix(); { slTranslate(pos[X], pos[Y], pos[Z]); slScale(sca[X], sca[Y], sca[Z]); slRotX(ang[X]); slRotY(ang[Y]); slRotZ(ang[Z]); slPutPolygonX((XPDATA *)&xpdata_0, light); } slPopMatrix(); |
If i include only one model at once, it work, if i include two models BUT i don't display one, it simply display a black screen... i wonder if they are limitations on size of 3d objects, my main scene is like 1500polygons (shaded) and max polys is set to 4000. I tried to copy and modify a little the Torus demo but it don't work too when i put two includes.. maybe it's an issue in the emulator i use (Satourne beta 3) If anyone can help  |