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.


Topics - ghidra

Pages: [1]
1
Support / obj loader obj format or serialized object process help
« on: February 14, 2011, 01:06:46 am »
I was trying to import an obj, but it keeps crashing the app on load. Perhaps my obj creator is adding some superfluous data in there that I can strip out. Is there an obj file somewhere that is know to work?

or

Is there any progress on instructions to the process of using JPCT to serialize an obj?

Probably I would still have to write out a proper reading obj file for the serializing to work.

Thanks.

2
Support / drawWireframe
« on: February 07, 2011, 03:03:32 am »
Hi.

I am new to jPCT. So far I it's been easy to get something basic running. Before I get too deep in, I was looking into rendering a wireframe so I don't have to deal with textures at the moment. I found the method in the docs, but I'm not sure I am applying it right.

Code: [Select]
framebuffer.clear(back);
world.renderScene(framebuffer);
world.draw(framebuffer);
world.drawWireframe(framebuffer, wirecolor );
framebuffer.display();

wire color set to white 255,255,255 and nothing draws. Even without the the first draw call, the wireframe doesn't draw.

Like I said, I'm new and just getting to digging around. I haven't even gotten into shaders yet, maybe a basic phong or lambert with a color might be good too instead of wireframe. Just looking for some basic drawing to get things figured out. Also, about wireframe, sense I have seen it, is there a type of hidden line removal available?

I'm looking forward to learning more about this library and being around in the community.

Pages: [1]