Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - bgilb

#1
Support / Canvas inside Panel in Swing
May 10, 2010, 03:02:08 AM
I'm trying to build a map editor, and was trying to find an elegant solution to intergrating the Canvas inside Swing. My crappy attempt resulted in failure. Any help on this? I couldn't really find anything in the wiki or forums.
#2
Support / Tutorials!
April 07, 2005, 12:13:09 AM
Any chance someone can make a short tutorial on the workings of object matrices, camera matrices, and how to properly do all types of rotations and translations. Maybe then we can build on this and make a complete tutorial set
#3
Support / Engine Limitations?
January 17, 2005, 09:35:54 PM
Im wondering why the maxtriangles for a Object3D exists, because it leaves me second guessing and having to use the max amount of triangles possible ( its somethign like 33,000 ) this seems like alot but im trying to make maps 512x512 tiles big. Now im not stupid and each tile isn't its own object3d.. instead i made each texture a object3d. Now is there anyway around this to allow me to have Much larger maps? the current limit only allows me 128x128 maps ( and at still very good FPS and such )
#4
Support / Texture not showing up.
January 14, 2005, 03:29:28 AM
It could be a uv problem, im not sure but basically all i did was created my texturemanager, loaded a texture, applied it to a object and then called recreateTextureCoords(), in wireframe i can see that the polygons are still there. as soon as i switch back to textured mode theres nothing there.. and it does load the file im sure

some code:


                               Texture tex=new Texture("grass.jpg");
                     texMan.addTexture("base", tex);
cube = new Object3D(4);
setupMap(); // adds polys to the cube mesh
cube.setTexture("base");
cube.recreateTextureCoords();
theWorld.addObject(cube);