Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sample): samples of animation #115

Merged
merged 3 commits into from
May 9, 2023

Conversation

hellmor
Copy link
Collaborator

@hellmor hellmor commented May 8, 2023

Add samples to show how to use skeletal animation and property animation

Add samples to show how to use skeletal animation and property animation
@hellmor hellmor added the feature New feature or request label May 8, 2023
@hellmor hellmor added this to the 0.6 milestone May 8, 2023
await Engine3D.init({ beforeRender: () => this.renderUpdate() });

Engine3D.setting.shadow.shadowBound = 1000;
Engine3D.setting.shadow.shadowBias = 0.002;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better set 0.0001

Engine3D.setting.shadow.autoUpdate = true;
Engine3D.setting.shadow.updateFrameRate = 2;
Engine3D.setting.shadow.shadowBound = 200;
Engine3D.setting.shadow.shadowBias = 0.00066;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

set to 0.0001

Engine3D.setting.shadow.autoUpdate = true;
Engine3D.setting.shadow.updateFrameRate = 2;
Engine3D.setting.shadow.shadowBound = 1000
Engine3D.setting.shadow.shadowBias = 0.002;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same~ 0.0001

Engine3D.setting.shadow.autoUpdate = true;
Engine3D.setting.shadow.updateFrameRate = 1;
Engine3D.setting.shadow.shadowBound = 350
Engine3D.setting.shadow.shadowBias = 0.002;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~

Add sample of how to control the morphtarget animation
@hellmor hellmor requested a review from lslzl3000 May 8, 2023 07:37
@X-OldGentleMan X-OldGentleMan merged commit a68bb77 into Orillusion:dev May 9, 2023
1 check passed
@hellmor hellmor deleted the sampleAnimation branch May 15, 2023 06:00
@lslzl3000 lslzl3000 mentioned this pull request Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants