To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2452
2451  |  2453
Subject: 
Re: My humble opinion about LDraw animation
Newsgroups: 
lugnet.cad, lugnet.cad.ray, lugnet.animation
Date: 
Sat, 27 Aug 2005 09:37:57 GMT
Viewed: 
220 times
  
What I am taking the time for is to try to convince you guys to not commit
yourselves to something that can never be powerful.  Plan for the most powerful
system.  It may never be as powerful as you planned, but that doesn't mean you
are stuck with a weak system.  If you plan power into the system, then in time
perhaps it will be that powerful.  (but dumbed down for beginners)

If I haven't convinced you by now, I give up.

James

That is a good point. Take a look at the .png format. They have made a fully
extensible format which covers the simple, and covers the complex. I would
suggest that any animation format should be based on an equally extensible
format, probably based on XML. It would be quite simple to convert an LDRAW file
to an equivalent XML file (you wouldn't have to convert the parts) which could
then be used as a base for animation. For example you could include variables as
follows

<part number="2001" colour="3">
  <position>
     <absolute>1 2 3</absolute>
  </position>
</part>

could be replace by

<part number="2001" colour="3">
  <position>
     <onspline id="legspline/>
  </position>
</part>

<spline id="legspline">
   <startframe relative="0"/>
   <endframe relative="10"/>
   <startposition absolute="1 2 3"/>
   <endposition absolute="4 5 6"/>
   <continuesfrom flat="true">
   <continuesto id="legspline2">
</spline>

where of course you can extend the <spline> class to deal with anything you
like. Note I left off the rotation matrix for convenience. It would be able to
take the same form as the other position.

Such a format would be quite easy to convert to PovRay (back is unlikely to ever
work without a huge effort) which would be used for the final rendering. You
could also 'snapshot' it at any frame and convert any frane back to LDraw.

Just my thoughts,

Tim



Message has 1 Reply:
  Re: My humble opinion about LDraw animation
 
(...) That's also my approach. I have never used any animation system. I don't know what are the best animation concepts. As a programmer i only know what i can eventually do (my skills), what is my preferred approach (my talent) and what i consider (...) (19 years ago, 27-Aug-05, to lugnet.cad, lugnet.cad.ray, lugnet.animation)

Message is in Reply To:
  Re: My humble opinion about LDraw animation
 
(...) Get ready for a book... You've started to describe exactly what I want to avoid. 1. Doing something so simplistic would never be able to hold my interest, and I suspect it would not interest anyone else who intended to do anything complex. (...) (19 years ago, 27-Aug-05, to lugnet.cad, lugnet.cad.ray, lugnet.animation)

61 Messages in This Thread:




















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR