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

Pages: [1]
1
Support / Get vertices of a polygon
« on: March 16, 2008, 08:35:49 pm »
Hi

Is it possible to find out which vertices belong to a polygon? So I can then use a vertex controller to manipulate those..

thanks



2
Projects / 3DCov(Java3d->jpct port)
« on: January 01, 2008, 01:03:16 pm »
Hi
As part of a term project, a friend and I been working on porting a little visualisation tool from Java3d over to jpct(pure software mode) the last ~2-3 weeks.
This was done because people kept having troubles running it under Java3d. The new version runs suprisingly smooth(given
a few things are probably implemented quite inefficient ;D due to lack of time) even on low end computers.

The tool's named 3DCov and is used to visualize the relation between classes and objects(for OO beginners). Following a few screens of a loaded diagram:




2d/3d view. 2d is done using JGraph
Some classes/objects moved around
Popup menu
Labels(multiplicity, roles, ...)

Happy new year everyone :)

3
Projects / Collada loader + and others
« on: November 18, 2007, 08:48:14 pm »
I started working on a collada loader(because..well..I had no other project idea ;D) a few weeks ago. I didn't get very far, mainly because I kinda lost interest in it and lack of time.

It currently doesen't do much more than loading basic(mesh) geometrie.

Some pictures:

http://web72.pi.ibone.ch/duck1.JPG
http://web72.pi.ibone.ch/duckW.JPG
http://web72.pi.ibone.ch/motor1.JPG
http://web72.pi.ibone.ch/motorW.JPG

Todo:

* supporting a subset of the effects librarie(correct texturing ..the one on the duck is applied after loading the model)
* light, camera and scene loading(so you get a configured world instead of object3d's)
* complex geometrie
* ...collada is huge :)

I don't think that I'll work on it again soon. If anyone is interested in the source ill upload it.

4
Support / Object space rotation
« on: November 14, 2007, 07:29:13 pm »
Hi

Having trouble with what i think is pretty basic ;D. I most probably just dont understand how rotation works.. :).

Im trying to draw some axis arrows..so I made my own arrow object3d and added it to a scene(see picture..the negativ y one is the original).
Now Id like to rotate that arrow to align it with the other axis. When i do the following:

Code: [Select]
o3ds[0] = createArrow();
       
       o3ds[1] = createArrow();
       o3ds[1].rotateZ((float)Math.toRadians(-90));
       
       o3ds[2] = createArrow();
       o3ds[2].rotateX((float)Math.toRadians(90));
       

it looks like this:


Now..is there a way to rotate these arrow so I dont have to translate them back in position(sphere is 0,0,0)? I tried setting the pivot and center of the arrow inside the sphere(which is the origin of the axis arrow too) but it doesent seem to work either.

5
Support / Render text onto an object3d
« on: November 03, 2007, 04:32:02 pm »
Hi
I'm porting a visualisation tool from Java3d to jpct, and am currently working on a prototype.

So far everything works fine, and most functionality is alrdy ported, except one major thing which i couldn't solve yet.

1. I need to project dynamic generated text on a box(see picture). Is there a clever way of doing that in jpct?

2. The boxes need to "glow"(e.g. get brigther) once selected. Whats the proper way of doing that in software mode? Use a texture effect? Anyone did something like that befor?:)

thx

it should look like this:



Pages: [1]