Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem controlling lights using Open API Program.

Status
Not open for further replies.

pravoak

Computer
Joined
Jun 7, 2005
Messages
2
Location
US
Hi am a newbie to ugopen.
I guess a macro can't be directly converted to UFUNC right?
I have a small macro that needs to be converted to UFUNC(open Api C program). I could do some of the steps successfully.
I am having problem with these:-

1. I don't see the option to select scene light in UF_VIEW_light_type_t. It supports only ----

UF_VIEW_AMBIENT_LIGHT
UF_VIEW_DISTANT_LIGHT
UF_VIEW_EYE_LIGHT
UF_VIEW_POINT_LIGHT
UF_VIEW_SPOT_LIGHT
UF_VIEW_NUM_LIGHT_TYPES


2. I don't see the option to control the color and intensity of the light in UF_VIEW_light_t or UF_VIEW_lighting_t

All the above functions or structures are in uf_view.h header file.

In Ug NX2 you can find the above things under -
assuming a part file opened----

view -> visualization -> Advanced Lights...

I would appreciate anyones help.

Thanks,
reddy.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top