Hi Johnathan,

I tried set transform_mode() & ViewerContext::model_matrix ( also tried
proj_matrix ) but still got the weird axis, is there any pseudo code please?

Thanks a lot,
Shing

On Sat, Oct 29, 2011 at 12:12 AM, Chishing Yip <[email protected]>wrote:

> Will have a try later, thanks again!
>
>
> On Sat, Oct 29, 2011 at 12:05 AM, Jonathan Egstad 
> <[email protected]>wrote:
>
>> Yes, plus setting the ViewContext's transform_mode() for each input/knob.
>>
>>
>> On Oct 28, 2011, at 8:30 AM, Chishing Yip wrote:
>>
>> Hi Jonathan,
>>
>> Thanks a lot for you reply.
>> For the camera transform, do you mean the ViewerContext ( OpenGL )
>> model/projection matrix?
>>
>> Shing
>>
>> On Fri, Oct 28, 2011 at 10:47 PM, Jonathan Egstad 
>> <[email protected]>wrote:
>>
>>> For mixed transform Ops you must implement your own build_handles() to
>>> set the viewer mode correctly for each input or knob.  Basically the camera
>>> transform isn't correct for the 3d knob since knobs on Iops are assumed to
>>> be 2d.
>>>
>>>
>>>
>>>
>>>
>>> On Oct 28, 2011, at 3:10 AM, Chishing Yip <[email protected]>
>>> wrote:
>>>
>>> Hi guys,
>>>
>>> If I add a Axis_knob(....) in my DD::Image::Iop node and then connect
>>> this Iop to a GeoOp, the axis in the 3D viewer is very weird.
>>> Has anyone seem this before?
>>> And is there any trick to make the shape correct?
>>>
>>> I could attach a snapshot, if anyone asks.
>>>
>>> Best,
>>> Shing
>>> --
>>> Zhicheng YE - Shing
>>> the /*jupiter jazz*/ group - visual research
>>> mercenaries of jupiter jazz limited - hong kong
>>> <http://www.jupiter-jazz.com/>www.jupiter-jazz.com<http://www.jupiter-jazz.com/>
>>>
>>> _______________________________________________
>>> Nuke-dev mailing list
>>> [email protected], <http://forums.thefoundry.co.uk/>
>>> http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>>>
>>>
>>> _______________________________________________
>>> Nuke-dev mailing list
>>> [email protected], http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>>>
>>>
>>
>> _______________________________________________
>> Nuke-dev mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>>
>>
>>
>> _______________________________________________
>> Nuke-dev mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>>
>>
>
>
> --
> Zhicheng YE - Shing
> the /*jupiter jazz*/ group - visual research
> mercenaries of jupiter jazz limited - hong kong
> www.jupiter-jazz.com <http://www.jupiter-jazz.com>
>



-- 
Zhicheng YE - Shing
the /*jupiter jazz*/ group - visual research
mercenaries of jupiter jazz limited - hong kong
www.jupiter-jazz.com <http://www.jupiter-jazz.com>
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to