Archive for May 11th, 2005

coding TCL

Generation/Production od Complexity

and ways to manage it.

1) objet instanceing(memory)
2) proy objects.- theyreferance data on the harddisk.
ie: archive RIB files , we are repetivly useing the same geomotry overagain , for repeted on screen rrepresentation.
the proy model , only keeps a simple referanec to the object . as obosed to the instanced object you get to see the object , wher as in a proxy you don’t see it till it’s rendered.
3) procedual primities and geomotry.

trigger:

procedural “runprogram” [appname " inputs 1 2 3 4 5 ect."]

this allows us to add to the rib data stream from out side the rib . it can tell the renderere to add psrticals or pramiters , much fasster..

___________________—

TCL
puts “hello”

every application respective of the languge it’s writen in has 3 standard pipies ,

standard “in”
standard “out”
standard “error”

standard in -connects to key board mouse /input device.

standard out -connects to the moniter..
and satandad error also to the moniter..

renderman works ,

with a helper program to rediret these inputs..

__________________________________________________________

# basic code for renderman helper app:

while { [gets stdin buffer] != -1 } {

puts ” Sphere 1 -1 1 360″
puts “\377″
# special pixar code choosen because it’s out side of regular ASCII

}

_____________________________-

make a tcl , that finds texture files with in RIBS and replaces tyhem with another .. then make a web page.