About this topic

  • Posted by greg 1 year ago. There are 2 posts. The latest reply is from gustav.

No tags yet.

  1. Hello again!!!!

    I am trying to set up an accurate orientation lighting calculation system in GC.I have a few questions tho as I come accross certain difficulties.

    I project the points on the imported surface, which was a MS smartsurface promoted to a BSpline Surface, but the projection does not seem to work as expected. I am attaching the file, but I am afraid I can only send the attached surface via email because of the size, so if anyone wants to have it please let me know.

    Now, I am using the 3dmax daylight system, which gives me the azimuth and altitude values in numbers, where I translated them in a BySphericalCoordinatesCS. Is there a possibility of a string use where I can keep changing the values in 3dmax and are automatically updated in GC???

    By the way,when I promoted the surface, it changed proportion and became a lot smaller than the original one, and there where certain deformations in the surface. any ideas why that happened?

    Now lets say that for every individual point that is being projected on the surface, i want a line connecting those points. I tried to do that but it seems that all the sunpoints create a line to the few points that are actually projected.I only want a line where the case is for example......SunPoint[10][10] and ProjectedPoint [10][10] and not between SunPoint[10][10]ProjectedPoint [10][11] and so on...

    one last thing.I am thinking of using CS instead of points to imitate the sun. Then I would make a line by StartDirectionLength and where that line intersects the surface, create a point. I ll give it a go right now and see how it goes...

    Thank you very much!

    Attachments

    1. 3DMax_Screenshot.jpg (88.8 KB, 2 downloads) 1 year old
    2. orientation_System.txt (7.3 KB, 1 downloads) 1 year old
  2. hey greg, i'm going to be rude and not respond all of your 10 simultaneous questions:

    - as in the answer to the previous forum question i think you should demote your ms object to a bsplinesurface to make sure it comes into gc correctly. i don't even know how you got it in to be frank, i can't even attach a smartsurface in the first place on my end..

    - how are the values output from 3dmax? not familiar with the system, but if you can output as text or similar then you can quite easily run it through excel or use the DataImporter feature and get the dynamic connection you're after.

    - srf deformations and points not projecting right i'll leave for now as it' likely to have to do with the smartsurface/bsplinsurface thing. try again.

    - connecting via indices: there is an option somewhere in line by lacing i think where you can specify "corresponding indices" or something similar. if that doesn't work it can be solved with a little function. explain a bit better what you actually need first though - a sketch says it better than a hundred words...

    hth

    g

RSS feed for this topic

Reply

You must log in to post.