Jump to content

Editor GUI's not updated


photo

Recommended Posts

Posted

Hi there

 

I'm not sure but I think the Camera Settings GUI doesn't gets the defined values.

 

We are setting the near and far clipping plane from C++ on the player, but when we open the GUI in the editor it shows 0.1 for the Near and 10000.0 for the Far clipping plane, no matter what we are passing. But the camera settings seem to change correctly.

 

Kind regards,

Renato

Posted

I think the editor has its own camera instance, so you might check, if you are updating the right one

Posted

Hi Renato,

 

Also, if you are using latest RC SDK, please make sure that camera lock is disabled: https://developer.unigine.com/en/docs/1.0/tools/editor/camera/#position_camera

 

If this doesn't help, could you please provide sample code that will reproduce this issue?

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi Andrey

 

I attached a test sample. With my Unigine version the calls to setZNear resp. setZFar are updated in the GUI. But the changes from frustum() are not shown

 

Thanks,

Renato

camera_settings.zip

Posted

Hi Renato,

 

Thank you for the test scene. What did you expect to see in Camera settings window (Degrees and Lens parameters changing)?

 

We will take a look at your code next week.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi Andrey

 

It would be helpful, if the Field of view parameters (degrees and lens) as well as the clipping planes params (near and far) would be updated.

 

It doesn't hurry at all. Was just a remark =)

 

Kind regards,

Renato

×
×
  • Create New...