Welcome, Guest. Please Login.
YaBB - Yet another Bulletin Board
30.07.2010 at 00:39:03
News:
Home Help Search Login


Pages: 1
Send Topic Print
Integrating 2D/3D graphics into a database (Read 3954 times)
Forum Admin
YaBB Administrator
*****


I love YaBB 1 Gold -
SP1!

Posts: 72
Gender: male
Integrating 2D/3D graphics into a database
26.08.2008 at 13:12:29
 
This is a post by Sem Lampotang on behalf of Howard Beck following his Simulation Faculty Learning Community (SimFLC) lecture on August 25, 2008 on "Database Support for Simulation Management"
 
http://vam.anest.ufl.edu/SimFLC/seminar5.html
 
****
 
Thanks..    One question I would like to explore, is generally how to integrate 2D/3D graphics into a database along with equations and everything else.  Goal is to provide an easier way to build 3D virtual  
world environments driven by dynamic simulations.
 
What we did so far with the Rinker Building was
1. export some existing 3D Cad drawings from 3DMax to VRML
2. import VRML files into Lyra objects
3. used Xj3D as a platform to render the 3D scene directly from database objects using the Xj3D API (no intermediate files required)
4. we were able to link the 3D shapes to other database info (like building materials), and were about to incorporate dynamic behavior...
 
Then SecondLife took off
1. unable to import graphics dynanically from a database, or connect to any external database from SecondLife
2. The SecondLife scripting language is virtually useless for doing simulation (we gave up on trying to autogenerate the scripting language from our model database)
3. after much frustration, decided it is impossible to implement dynamic 3D simulations in SecondLife without doing tremendous amounts of work....
 
Then Digital Worlds Institute began to explore another package, called OLIVE
1. API written in C++, I'm not too excited about going back to work in C++, but would do so if necessary
2. there are no higher-level authoring tools for OLIVE.  We might eventually get it to work, but it would take lots of work
 
So... what next?
- the concept behind Croquet looks interesting, a higher-level programming language integrated with a 3D presentation (seems similar to Xj3D on the surface).  What's not to like about Croquet? (I don't know it well enough to say yet).  Did you develop a Smalltalk alternative?  What do you have in  
mind?
 
- I'd like to see an environment where the database stores 3D shapes, dynamic behavior (via equations), geometric structure, and automatically builds the 3D interface driven by simulation....  authoring tools are at the database level, no programming required...   but I can dream can't I!!
 
We could move this discussion to the FLC simulation blog??
 
Thanks for any advice
Howard
 
Back to top
 
 
Email View Profile WWW   IP Logged
schwabw
YaBB Newbies
*


http://vam.anest.ufl
.edu/wip.html

Posts: 1
Re: Integrating 2D/3D graphics into a database
Reply #1 - 26.08.2008 at 18:42:18
 
Howard,
 
Your experience with Second Life is (no offense to you) what I would expect.  Things that seek to make something easy often seem to be created with assumptions of what should be easy, with most other tasks being out of reach.  While not so intellectually pleasing as Turing's work, I generally consider a "complete" language to be one capable of reliably crashing a machine; if I cannot halt the CPU, I am not in control.  I also choose not to be bothered with reassuring a compiler that I indeed know what I am doing, only to sporadically prove otherwise when forced to resort to type casting.  Dynamic languages offer an option to skip the casts and allow the objects to complain when asked to do things not in their nature.  Very terse and mutable systems result.  Automated testing allows one to regain confidence that might disappear with type safety.
 
Smalltalk can indeed clobber a machine, though one generally has to work at it.  The result is a system with a cameleon-like ability to shift from a rock-solid meta language to a driver for a bleeding-edge 3D rendering engine.  The later personality arises from external interfacing and primitives that are generally wrapped in facades (in the GoF sense) for safe consumption by normal users/developers.
 
I have made extensive use of Smalltalk, especially Dolphin, and am currently seeking shelter from what are rapidly becoming intolerable changes in Windows.  Squeak has long been attractive to me: open, portable, and Smalltalk in one package.  The trouble has been a fractured   (often dysfunctional) community surrounding it.  The Pharo project seeks to fork and fix Squeak, and is thus far off to a good start; I have shifted my non-Windows attention to it.  You would need Croquet as it is being developed.
 
Croquet will hopefully have some firm direction that disappeared from Squeak when Dr. Alan Kay et al. left Disney.  The consortium is obtaining external funding, so hopefully Alan will need to crack the whip in a way that he has been unwilling to do, at least in the Squeak community, for several years.  It should be noted that Alan's goals are on a grand scale; he wants to invent better computing, not necessary in small and comfortable steps.  He often skips details that I consider to be critical, as I try to use computers to solve present problems.
 
In short, do some experiments with Croquet and see if it meets your needs.  If it does, I can help with advise on filling gaps in the implementation.  The things you might not like about it will probably be GUI conventions.
 
Hopefully the above will make some sense to you.  Please ask questions about any parts that seem not to connect.
 
Bill
 
 
Back to top
 
 
Email View Profile   IP Logged
metaphorz
YaBB Newbies
*


http://vam.anest.ufl
.edu/wip.html

Posts: 1
Re: Integrating 2D/3D graphics into a database
Reply #2 - 26.08.2008 at 21:30:34
 
Howard:
 Some thoughts..btw, I don't see any easy way to insert parts of a message
as quoted, but I probably have not explored this BB software completely.
 
> One question I would like to explore, is generally how to integrate 2D/3D graphics into  
> a database along with equations and everything else.  Goal is to provide an easier way  
> to build 3D virtual world environments driven by dynamic simulations.
 
 It might be worthwhile to determine the specific purpose of the project - is it to: integrate all knowledge
and information together regardless of model type? That is what I am reading in what you
wrote. I share your interest in having a capability to integrate, especially, dynamic models
and geometry models. We have some papers that deal with some aspects of integrating
ontologies with dynamic models, but I know you also are doing a lot of research here.
 
> What we did so far with the Rinker Building was
> 1. export some existing 3D Cad drawings from 3DMax to VRML
> 2. import VRML files into Lyra objects
> 3. used Xj3D as a platform to render the 3D scene directly from database objects using the Xj3D API > (no intermediate files required)
> 4. we were able to link the 3D shapes to other database info (like building materials), and were about > to incorporate dynamic behavior...
 
What was the goal of the Rinker Building project? We've used technologies like VRML, Blender,
and Second Life extensively but they have to be taken in light of precisely how they are being
used, and what they bring to the table in terms of capabilities that do not need to be implemented.
 
> Then SecondLife took off
> 1. unable to import graphics dynanically from a database, or connect to any external  
> database from SecondLife
 
Not being a 'Linden', I am unsure of some of their early design decisions, and some of them
do seem arbitrary or flawed. However, consider that Second Life is built with the idea that all
content is user-generated. This leads to certain design considerations: content must be streamed
in real time from the servers, efficiently and parametrically. So forget arbitrary meshes for the
simple reason that the bandwidth is not sufficient. On the other hand, parametrically defined
surfaces should be possible, and Linden Labs seems not to have explored this avenue (i.e.,
B Spline surfaces). I am not sure why.  
 
> 2. The SecondLife scripting language is virtually useless for doing simulation (we gave up on trying to > autogenerate the scripting language from our model database)
 
Let's clarify - the scripting language (LSL and transitioning to Mono) is reasonable for 1) discrete event
simulation OR 2) continuous simulation performed on your own server with sync messages to the
Second Life servers (via XMLRPC). For truly real time modeling, Second Life is not the platform
of choice unless one can live with the XMLRPC solution and a frame update rate that depends on
net bandwidth.
 
> 3. after much frustration, decided it is impossible to implement dynamic 3D simulations in SecondLife > without doing tremendous amounts of work....
 
True. For real-time stuff, might I recommend something like either Processing (for mostly 2D
work, although JOGL works fine) or OGRE (conjunction with OPENGL). But if you want a platform
that does everything (collaborative building, social collaboration, custom continuous-time dynamics,
robust scripting language, great documentation, mature and large user base), I am not sure that
this exists yet.
 
We use Second Life for cultural simulation, and for that purpose, it is a good platform.
There are no dynamic real-time needs other than the Havoc physics that comes with
it.
 
> Then Digital Worlds Institute began to explore another package, called OLIVE
> 1. API written in C++, I'm not too excited about going back to work in C++, but would do so if > necessary
> 2. there are no higher-level authoring tools for OLIVE.  We might eventually get it to work, but it would > take lots of work
 
You might also try a free platform (Multiverse) if the multi-user aspect is important. If this is
not important, try OGRE.
 
> So... what next?
> - the concept behind Croquet looks interesting, a higher-level programming language integrated with a > 3D presentation (seems similar to Xj3D on the surface).  What's not to like about Croquet? (I don't  
> know it well enough to say yet).  Did you develop a Smalltalk alternative?  What do you have in  
> mind?
 
I looked at OpenCroquet two years ago, but it seemed like half-baked technology back
then, and a poor user base. Maybe it has changed, and this could be worth exploring. I'd
give it another go, for sure.
 
> - I'd like to see an environment where the database stores 3D shapes, dynamic behavior (via  
> equations), geometric structure, and automatically builds the 3D interface driven by simulation....  
> authoring tools are at the database level, no programming required...   but I can dream can't I!!
 
When VRML was the big thing, I used to dream that someone would start building IDEs and
apps for it, but it never really happend. After all, it is primarily a protocol layer for geometry
and simple node scripting.  
 
It seems to me that you are doing the right thing--you are stating what your key concerns
are and then seeing what platforms support these concerns. It sounds like "real-time"
model behavior is important, so this does limit the choices.
 
-pau
Back to top
 
 
Email View Profile WWW   IP Logged
Pages: 1
Send Topic Print