Stack based scene build

Inspired by NodeBox we have decided to change the scene builder to a stack based approach. The new commands will be push, pop, pushpop, rotate, scale and translate. Here is a small example of a spiral of spheres:
0.upTo(100){
rotate(x : 5)
scale(all : 0.98)
push()
translate(y : 10)
scale(all : 5)
sphere()
pop()
}

The new scene builder should be ready in a couple of weeks. 

About these ads

~ by scalaray on December 22, 2007.

3 Responses to “Stack based scene build”

  1. What happened to scala ray?

    • There havn’t been happening much lately since we ran into a couple of problems with Scala at that time. Scala faked (and still do as far as I know) tail recursion and therefore we got heap overflow for everything but the simplest scenes. It could be fixed by writing non functional program code but that was not what we wanted, so therefore the project kind of halted.

      There is no plan of continuing the project right now, but who knows what the future will bring

      Jens

  2. Lack of free sparetime killed the project I guess :/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: