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.

Messages - bgilb

Pages: [1] 2
Support / Re: Texturing problem
« on: May 10, 2010, 10:58:54 pm »
I am also having a problem with texturing. My cube is just showing up as one color instead of showing any texture.
Code: [Select]
private World world;
private FrameBuffer buffer;
private Object3D box;

public static void main(String[] args) throws Exception {
new HelloWorld().loop();

public HelloWorld() throws Exception {
world = new World();
world.setAmbientLight(0, 255, 0);

TextureManager.getInstance().addTexture("box", new Texture("res/grass.png"));

box = Primitives.getBox(4f, 4f);;

world.getCamera().setPosition(50, -50, -5);

private void loop() throws Exception {
buffer = new FrameBuffer(800, 600, FrameBuffer.SAMPLINGMODE_NORMAL);

while (!org.lwjgl.opengl.Display.isCloseRequested()) {

Support / Canvas inside Panel in Swing
« on: 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.

Projects / my freeware particle engine
« on: April 13, 2005, 01:57:49 am »
alright, just wondering is there a way to change the color of a object3d?

Projects / my freeware particle engine
« on: April 11, 2005, 09:52:24 pm »
this is bgilb btw just forgot to login :D

Support / Tutorials!
« on: 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

Support / Engine Limitations?
« on: January 19, 2005, 09:54:04 pm »
it almost works, it just creates 2 windows now ( one thats empty but still has action listiner for mouse ) and then the graphics are in the new window ..

Support / Engine Limitations?
« on: January 18, 2005, 11:02:01 pm »
quick question .. how do i enable Opengl properly? It seems the way im doing it isnt working because i dont get any fps gain at all, heres what i call:

Code: [Select]

buffer.enableRenderer(IRenderer.RENDERER_SOFTWARE, IRenderer.MODE_OPENGL);

Support / Engine Limitations?
« on: January 18, 2005, 01:09:16 am »
damnit i wish i woulda saw this polygonmanager earlier!!! thank you egon!

Support / Engine Limitations?
« on: January 18, 2005, 12:30:22 am »
its a mapeditor :O so im trying to be able to place tiles and such on he map ( changing its texture etc )

basically im trying to make a mapeditor like wc3

Support / Engine Limitations?
« on: January 18, 2005, 12:15:51 am »
then what could i do besides rebuilding the mesh? is there way to add and delete polys on runtime?

Support / Engine Limitations?
« on: January 17, 2005, 11:40:57 pm »
well i fixed it by doing -Xmx1024m and it works but now it takes forever to load the map and every time i change the texture the rebuilding takes forever... right now for each texture its its own Object, would it be bad to make each tile its own object? sounds risky since that would be ( for the biggest map ) 65,000 objects

Support / Engine Limitations?
« on: January 17, 2005, 11:32:57 pm »
im using JCreator and i added it under project settings where it says Command: and it says invalid heap size

Support / Engine Limitations?
« on: January 17, 2005, 11:27:34 pm »
yeah i have no idea how to use command line stuff :O

Support / Engine Limitations?
« on: January 17, 2005, 11:08:52 pm »
i get the error "OutOfMemory" sorry if i didnt say

Support / Engine Limitations?
« on: 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 )

Pages: [1] 2