Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Re: Using Open Reality SDK, the class HFBCamera members Near and Far are not Animatable even the UI allow to Animate them

Дата публикации: 10-11-2021 10:44:01

Hello and sorry if my message wasn't enough clear.Thanks for the phyton sample, it work fine. But i don't use python to export , i use the C++ SDK, since a while now and i don't want to migrate to phyton. So using the OpenReality SDK, the C++ FBCamera class didn't expose the animatable property for Near and Far, check below the class provided by the SDK.    class FBSDK_DLL FBCamera : public FBModel {__FBClassDeclare( FBCamera,FBModel );public:....FBPropertyDouble NearPlaneDistance; //!< <b>Read Write Property:</b> Near plane distance.FBPropertyDouble FarPlaneDistance; //!< <b>Read Write Property:</b> Far plane distance..../*////////////////WARNING////////////////////////////////////BACK-COMP implementation:The proper implementation is to change UseDepthOfField fromFBPropertyBool to FBPropertyAnimatableBool. This breaksbackward compatibility and should only be done for major releases////////////////WARNING////////////////////////////////////*/void GetAnimatableFarPlane(FBPropertyAnimatableDouble *pProp);void GetAnimatableNearPlane(FBPropertyAnimatableDouble *pProp);}; I try using the GetAnimatableNearPlane(FBPropertyAnimatableDouble *pProp) that seem to be a workaround, but it didn't work.Could you transfer my problem to someone who knows the c++ sdk, i believe the phyton is more up to date. Thanks.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Под Волгоградом построят мусороперерабатывающий комплекс мощностью 200 тыс. тонн в год0010-11-2022

Классификация: . Схожих патентов: 0. Схожая новость: 1. Тональность: 0. Информативность: 0. Источник: forums.autodesk.com.