damjan fio
  • Vienna
  • Austria
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (33)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Damjan fio's Friends

  • Johnluc

damjan fio's Discussions

set objetcts display color?
1 Reply

if i add an object to the scene - i can supply ObjectAttributes, but cant find where to set the display color for the object? i found where to set the Colorsource.. but not the colorthanksContinue

Started this discussion. Last reply by Dale Fugier Feb 26.

how to get the rendermesh (or any) from a brep/surface?
2 Replies

i can extract the mesh now through things like:mesh = brep.Faces[0].GetMesh(Rhino.Geometry.MeshType.Any);taken from the unroll surface sample,but i dont know how to access the RenderMesh Class - as…Continue

Started this discussion. Last reply by damjan fio Feb 22.

Mesh normals are not computed right (also in SDK sample?)
2 Replies

hello, 2 screenshots are attached explaining the problem.i tried to compute, flip unify, weld+unweld.. nothing helped yet.do i have to recompute normals on the fly while rendering?…Continue

Started this discussion. Last reply by damjan fio Feb 21.

get mouse pointer coordinates in cplane/world
1 Reply

how to get the mouse pointer 3d coordinates (projected to cplane/world) in the active viewport?Continue

Started this discussion. Last reply by Dale Fugier Feb 13.

 

damjan fio's Page

Latest Activity

Dale Fugier replied to damjan fio's discussion set objetcts display color?
"Use ObjectAttributes.ObjectColor. See the following for an example. https://gist.github.com/dalefugier/5039834  -- Dale"
Feb 26
damjan fio posted a discussion

set objetcts display color?

if i add an object to the scene - i can supply ObjectAttributes, but cant find where to set the display color for the object? i found where to set the Colorsource.. but not the colorthanksSee More
Feb 26
damjan fio replied to damjan fio's discussion how to get the rendermesh (or any) from a brep/surface?
"got it - thanks a lot!"
Feb 22
Dale Fugier replied to damjan fio's discussion how to get the rendermesh (or any) from a brep/surface?
"Let me know if this helps. https://gist.github.com/dalefugier/5017366  -- Dale"
Feb 22
damjan fio posted a discussion

how to get the rendermesh (or any) from a brep/surface?

i can extract the mesh now through things like:mesh = brep.Faces[0].GetMesh(Rhino.Geometry.MeshType.Any);taken from the unroll surface sample,but i dont know how to access the RenderMesh Class - as it has no constructor or static methods i am a bit lost..If i have the object reference, guid etc. - how to get the rendermesh/viewportmesh out?Thanks!See More
Feb 22
damjan fio replied to damjan fio's discussion RhinoApp.Wait() slowdown
"sorry - now the right file"
Feb 22
damjan fio replied to damjan fio's discussion RhinoApp.Wait() slowdown
"i made a small example - if you orbit the view, it speeds up by 5+ times, but only if the viewport is maximized. maybe you have an idea if i can do something about this. (rather to speed it up, than slow everything down) thanks"
Feb 22
Dale Fugier replied to damjan fio's discussion override Bounding Box calculation in custom display conduits
"Hi Damjan, Looks like I misspoke. In your CalculateBoundingBox override, instead of doing this:   e.BoundingBox.Union(b); do this:   e.IncludeBoundingBox(b); as e.BoundingBox returns struct on the stack which just get destroyed. Here…"
Feb 21
damjan fio replied to damjan fio's discussion override Bounding Box calculation in custom display conduits
"i attached a simple command and a screenshot - the bbox is by far bigger than the camera position, still i get clipping. and sometimes is near plane, sometimes far plane.."
Feb 21
damjan fio replied to damjan fio's discussion Mesh normals are not computed right (also in SDK sample?)
"ahh - my fault! i didn't set my transforms to identity before manually changing the matrix.. somehow the meshes rotated fine, but the normals suffered"
Feb 21
Dale Fugier replied to damjan fio's discussion override Bounding Box calculation in custom display conduits
"Can you post some sample code that I can run here that reproduces the problem? Along with the code, please provide step-by-step instruction on how to reproduce what you are seeing. Thanks,  -- Dale"
Feb 20
Dale Fugier replied to damjan fio's discussion Mesh normals are not computed right (also in SDK sample?)
"Hi Damjan, You have not provided enough information for us to be able to help. Please provide more details as to what you are doing.  Is there an SDK example you are referencing? How did you create your meshes? Do you have example code that we…"
Feb 20
damjan fio replied to damjan fio's discussion override Bounding Box calculation in custom display conduits
"sorry, but this seems to still not work for me - whatever numbers i type in the "b" boundingbox, clipping appears. Further, if i add some points across the scene, it gets better with the far clipping, but near clipping still cuts off my…"
Feb 20
damjan fio posted a discussion

Mesh normals are not computed right (also in SDK sample?)

hello, 2 screenshots are attached explaining the problem.i tried to compute, flip unify, weld+unweld.. nothing helped yet.do i have to recompute normals on the fly while rendering?…See More
Feb 20
damjan fio replied to damjan fio's discussion RhinoApp.Wait() slowdown
"hmm i cant reply to your post - so i reply to mine now.. funny - it really helps. at least when i move the mouse it is not getting slower"
Feb 19
Dale Fugier replied to damjan fio's discussion RhinoApp.Wait() slowdown
"You can turn off the status bar in Tool->Options->Appearance.  -- Dale"
Feb 19

Profile Information

Company, School, or Organization
university of applied arts
I am a
Commercial User, Teacher
Which operating system do you prefer?
Windows
Discipline/Occupation
Architectural Design

Comment Wall

You need to be a member of Rhino Community to add comments!

Join Rhino Community

  • No comments yet!
 
 
 

Translate

© 2013   Created by McNeel Admin.

Badges  |  Report an Issue  |  Terms of Service