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 - ForOhFor Error

Pages: [1]
1
Support / Re: Obj Models not loading after exporting
« on: May 14, 2013, 11:53:47 pm »
Thanks, I got it working now.

2
Support / Re: Obj Models not loading after exporting
« on: May 14, 2013, 04:18:22 am »
Same result :/
Just a blank, blue screen (I can blit onto it, so the buffer is rendering fine).
And it works perfectly in eclipse :/

3
Support / Re: Obj Models not loading after exporting
« on: May 13, 2013, 03:41:41 pm »
And that's for loading files that are contained in the jar, correct?

4
Support / Obj Models not loading after exporting
« on: May 13, 2013, 02:57:58 am »
(Posted this in the wrong section at first - whoops)

So, my problem is fairly simple. I have a call to load a model in my project:
tabletop = Object3D.mergeAll(Loader.loadOBJ("res/model/Tabletop.obj","res/model/Tabletop",260f));
and all is well in eclipse - it loads just fine.

However, when I export the jar (and package it all up with JarSplice), the model doesn't load (none of the models I'm using load, in fact).

I have tried placing the res folder in both the jar itself, and in a folder alongside the jar, and both just load with a blank buffer being rendered.

5
Support / Re: Models not loading after exporting
« on: May 12, 2013, 07:25:15 pm »
Resources doesn't appear to be a type I can import.

6
Support / Models not loading after exporting
« on: May 12, 2013, 07:01:33 pm »
So, my problem is fairly simple. I have a call to load a model in my project:
tabletop = Object3D.mergeAll(Loader.loadOBJ("res/model/Tabletop.obj","res/model/Tabletop",260f));
and all is well in eclipse - it loads just fine.

However, when I export the jar (and package it all up with JarSplice), the model doesn't load (none of the models I'm using load, in fact).

I have tried placing the res folder in both the jar itself, and in a folder alongside the jar, and both just load with a blank buffer being rendered.

7
Support / Re: Drawing with AWT over 3D Render?
« on: May 09, 2013, 12:23:23 pm »
Okay, is there a good example for that somewhere? Like I said, I'm still learning.

8
Support / Re: Drawing with AWT over 3D Render?
« on: May 08, 2013, 09:33:15 pm »
Right, so what would be some reasonable alternatives? I'd rather not use a 2D plane in front of the camera and constantly blit the Texture, if at all possible.

9
Support / Re: Drawing with AWT over 3D Render?
« on: May 08, 2013, 12:20:41 pm »
Yes, I am.

10
Support / Drawing with AWT over 3D Render?
« on: May 08, 2013, 12:42:04 am »
Hey, I'm a bit of a noobie around here, but I'm trying to learn. That said, here's my trouble:

This code fails to draw a square into the corner of the JFrame I'm using (a proof of concept - If I can draw a square, I can draw an image as well):
Code: [Select]
while (frame.isShowing()) {
buffer.clear(java.awt.Color.BLUE);
world.renderScene(buffer);
world.draw(buffer);
buffer.update();
Graphics g = buffer.getGraphics();

g.fillRect(0, 0, 10, 10);

buffer.displayGLOnly();
canvas.repaint();
Thread.sleep(10);
}

Is there something I'm missing?

Pages: [1]