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 - rjm49

Pages: [1]
1
Support / Centering and rotating groups of objects
« on: May 28, 2012, 01:35:19 pm »
Hi, apologies if this has been discussed before, please point me to the relevant thread if so.

I have constructed a bunch of Object3Ds which sit together, and what I want to do is "group" them, then centre the group in my world (based on the geometry of the objects inside it) and rotate it around (0,0,0).

I'm aware that there is not a "group" concept as such, so I was wondering if it is good practice to use a dummy object for such a purpose?  Or whether it would be better to merge the objects (although they are tran'd/rot'd relative to each other which I guess a merge would undo).

I guess I can think of a couple of ways you might do it, and I just wanted to check for the best practice.  Any suggestions?

2
Support / Eccentric billboards
« on: May 09, 2012, 04:42:15 pm »
I want to label objects (and parts of objects) in my world using billboards.  I'm not talking about blitting, I want the labels to have a z co-ordinate, but they should stay attached to their object.  For some reason they don't work as I'd expect.

I have created a demo to explain the situation, but I'm not sure how to get the screenshots onto this forum.  Lots of other people have done so, so there must be a way.  Any suggestions?

Thanks!

3
Support / jPCT rendering into JavaFX 2.0
« on: March 07, 2012, 03:48:34 pm »
Hi folks/Gruess Gott,

I'm new to jPCT and liking it!  Such compact and no-nonsense toolkits are so rare these days.  I have come from Java3D, which I can only conclude was never designed to actually be used by anyone.

I am trying to integrate jPCT with JavaFX 2.0.  This is because JavaFX's 3D own features cannot be used on my XP netbook (Mobile Intel 945 Express graphics chipset), even with all latest drivers.  A shame, given how common these chipsets are.

So the aim of my project - to get jPCT rendering onto a JavaFX Image, so that it can be viewed (via ImageView) as a panel showing jPCT 3D coolness, in the JavaFX scene.

I have achieved this, but not in a satisfactory/stable way.  Before we go into details of my horrid hacks, I'd be interested to hear if anyone else has had a go at this, and/or whether there is a "standard approach" to such a thing.

In the case of my project, I am trying to simply display the jPCT HelloWorld "spinning cube", in a single ImageView in the JavaFX scene.  So I need to get frames from jPCT and update the Image/ImageView repeatedly to animate it.  Not trying to do event handling or anything at this point.

I am happy to delve into code, I firstly just want to see if anyone else has had a go, or thought about it?

Thanks/Danke!

Russell (rjm49)

Pages: [1]