Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003658 [Squeak 3.8] feature always 05-17-06 14:51 05-17-06 14:51
Reporter tsadowski View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0003658: The PoohTriangle example doesn't work
Description The example code seems to be out of date I changed it a little bit to make it run again but its just a dirty hack and needs to be cleaned up with possible side effects on B3DSceneExplorerMorph
Additional Information | faces points obj ex light |

points _ (0 to: 35) collect:[:i|

    (B3DRotation angle: i*5 axis: 0@0@1) asMatrix4x4 localPointToGlobal: (20@0@0)].

points _ points collect:[:v3| v3 x @ v3 y].

points _ {300@196. 299@205. 297@210. 296@212}. />
faces _ PoohTriangle basicNew elevateFan: points to: 246@158@74 steps: 8.

faces _ B3DSimpleMesh withAll: faces.
obj _ (B3DSceneObject new) geometry: faces asIndexedMesh.
ex _ B3DSceneExplorerMorph new openInWorld.
light _ B3DAmbientLight new.
light lightColor: (B3DMaterialColor color: (Color r: 0.0 g: 1.0 b: 0.0)).
ex scene lights add: light.
ex scene objects add: obj.

Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-17-06 14:51 tsadowski New Issue


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker