Main Menu
Menu

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.

Show posts Menu

Messages - shoka

#1
Support / Wireframe or border rendering?
January 27, 2003, 08:58:25 AM
I suppose it _could_ be possible to render the border and displayed data into a texture and then assign that to poly representing the area. But wouldn't that be quite expensive - after all that it should be achieved by using a 3D engine in the first place.. :)

Another thing I forgot to mention in the first post - propably because it's completely different topic - is continous picking. The user interface should employ some method of mouse tracking, with highlighting and additional information show when cursor hovers over certain object in the scene; this propably needs to be done by firing picking rays at certain intervals to see if something is available.

I'm a bit concerned by performance issues - in Java3D this took too long, at least with unoptimized code and large scenes, and degraded performance too much on not-so-high-end machines..
#2
Support / Wireframe or border rendering?
January 24, 2003, 03:21:50 PM
Hi..

First, I must confess that I'm _very_ impressed by what you have done here.. :)

I'm thinking of adapting the engine into a project of mine (effectively removing burden of downloading java plugin and j3d from average user), but ran into couple of problems when examining the apidocs.

The project is kind of a map viewer applet that is capable of displaying arbitrary statistics on specified areas (such as population versus age) and is designed to render borders and main routes such as roads, of these areas as the 'ground' on top of which the generated statistics 'float'.

Now the question: how could I render just polygon's edges (preferably with custom brush) with Object3D. In Java3D this is achieved by using LineStripGeometry and tuning RenderingAttributes, which produces the desired effect quite nicely.

Another nice-to-have feature would be using coloring for the poly, with edges in different color (this can of course be done by stacking to polys on top of each other)..

Hopefully I've presented the problem (un)clearly enough.. ;)

-shoka