Sponsored Content
The Lounge What is on Your Mind? Did you watch Super Star (Thalaivar's) Endhiran Movie? Post 302458806 by matrixmadhan on Friday 1st of October 2010 11:34:28 PM
Old 10-02-2010
Did you watch Super Star (Thalaivar's) Endhiran Movie?

Robot fever is there throughout the world ! Smilie
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

parsing a STAR tag-value file

I have a recent file I am trying to parse that looks like this: value_one:1:value_two:2:value_three:3 value_one matches to 1 value_two matches to 2 value_three matches to 3 the semi-colons not only seperate the tags to their corresponding values, but also seperate tag/value pairs from... (2 Replies)
Discussion started by: mike@freddiemac
2 Replies

2. HP-UX

BAD SUPER BLOCK - Run fsck with alternate super block number

Error received when I tried to restore a blank disk with an 'auto recovery' DDS tape via HP-UX recovery system 2.0 onto a 1Gb SCSI. I assumed it would do the setup, wrong. Could someone tell me the procedure to initial disk for recovering files using cpio. The system is a HP-UX 9.04 version on a... (1 Reply)
Discussion started by: admin wanabee
1 Replies

3. What is on Your Mind?

Super stars Rajnikanth's Endhiran Movie

What's your expectation for Rajnikanth's Endhiran Movie. Biggest budget with top people..... (2 Replies)
Discussion started by: gwgreen1
2 Replies

4. Red Hat

What is star

I am looking to take the Redhat Certification exam, and one of the guidelines is: Can someone tell me what star is? Thank you. (2 Replies)
Discussion started by: druidmatrix
2 Replies

5. Solaris

Star/Libre/Open/???-Office for Solaris 11.2 ?

It's been a few years since this topic was last asked and answered.. curious whether anyone knows if the landscape has improved? looking for a more modern release of OpenOffice / LibreOffice / etc than the OOo-3.3 version mentioned in earlier posts from 2012. Would prefer not to compile from... (1 Reply)
Discussion started by: Yeaboem
1 Replies

6. Shell Programming and Scripting

Can't rcmd with star name

We have had a script here for years used to send files to other computers or to rcmd a command entered thru a prompt. A file we are looking for on the other computers will start with the same characters followed by -nnnnnn.txt. I can log into another computer and find (or not) that file, but not... (4 Replies)
Discussion started by: wbport
4 Replies
BlenderImport(3pm)					User Contributed Perl Documentation					BlenderImport(3pm)

NAME
XRacer::BlenderImport - Import files exported by xracer-blenderexport.py SYNOPSIS
use XRacer::BlenderImport; $world = parse XRacer::BlenderImport [ $filename ]; $index = $world->add_vertex ($vertex); $verticesref = $world->get_vertices; %layerinfo = $world->get_layer_info; @objects = $world->get_meshes_in_layer ($layer); DESCRIPTION
The "XRacer::BlenderImport" module contains functions for importing special XRacer-specific Blender files into Perl scripts. These Blender files have been previously exported by the "xracer-blenderexport.py" Python script for Blender. The "XRacer::BlenderImport" module parses the "blender.export" file, cleans it up (removing multiple vertices, for example) and presents an internal world representation. The world is divided into layers (corresponding to the layers in the original Blender image), and in each of these layers is a set of meshes. FUNDAMENTAL TYPES Vertices are stored in a global list, so that common vertices are only stored once. A vertex structure looks like this: $vertex = { coords => [ $x, $y, $z, 0 ], texcoords => [ $u, $v ], normal => [ $nx, $ny, $nz, 0 ], colour => [ $r, $g, $b, $a ] }; The fields are (in order): the coordinates of the vertex, the texture coordinates, the normal vector at this point and the colour of the vertex. Faces are stored simply as a list of vertex indices (relative to the global list of vertices). A face looks like this: $face = { vertices => [ $index0, $index1, $index2, ... ] } Faces have at least three vertices, and maybe more. A mesh is a list of faces and additional information, such as the name of the mesh (object). A mesh structure looks like this: $mesh = { name => $name, layer => $layer, faces => @faces, material => [ $red, $green, $blue ], has_colours => $has_colours, has_texcoords => $has_texcoords, has_material => $has_material }; The fields are: the name of the mesh (or object), the layer on which the object exists, the list of faces, the material and then three flags which are passed to us from Blender: did the user supply vertex colours? did the user supply texture coordinates? and did the user supply a material? CLASS METHODS
$world = parse XRacer::BlenderImport [ $filename ]; Parse the import file $filename (or "blender.export" if no filename is given) and generate a world representation. If the file could not be parsed, then this function will print an error message and return "undef". OBJECT METHODS
$index = $world->add_vertex ($vertex) This function adds a single vertex to the world object (vertices are stored in a large shared list so that common vertices are folded into one). It returns the vertex index of the new vertex. If another vertex with the same position, texture coordinates, normal and colour existed, then this function would return the index of the other vertex, rather than creating a fresh vertex object. $verticesref = $world->get_vertices This returns a reference to the global list of vertices. You must not update or change this list. Use the "add_vertex" method instead. %layerinfo = $world->get_layer_info This method returns a hash. The keys of the hash are layers which contain at least one object. The values of the hash are the number of objects in that layer. For example, if the world contained 3 objects on layer 1, 1 object on layer 2 and 4 objects on layer 5, then the hash returned would be equivalent to: %layerinfo = ( 1 => 3, 2 => 1, 5 => 4 ); @objects = $world->get_meshes_in_layer ($layer) Get a list of the objects (i.e. meshes) found in layer $layer. See the DESCRIPTION section above for a description of the mesh structure. AUTHOR
Richard W.M. Jones, <rich@annexia.org> COPYRIGHT
XRacer is copyright (C) 1999-2000 Richard W.M. Jones (rich@annexia.org) and other contributors listed in the AUTHORS file. SEE ALSO
perl(1), xracer(6). perl v5.14.2 2000-01-30 BlenderImport(3pm)
All times are GMT -4. The time now is 07:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy