keijiro / 4dviewstest2 Goto Github PK
View Code? Open in Web Editor NEW4DViews volumetric video with Unity VFX Graph
4DViews volumetric video with Unity VFX Graph
Also trying out .4ds ... do you know how to switch to play a different .4ds file at runtime?
Have tried the obvious .Stop() assign squencename and .Play() and now trying a coroutine to wait for initialization... But I have not been able to get the Unity plugin to change the play file at runtime.
`public void SelectThis(string name)
{
if (p4ds.IsPlaying) p4ds.Stop();
print("SelectThis " + name);
p4ds.SequenceName = name+".4ds";
p4ds.Initialize(true);
p4ds.Play(true);
StartCoroutine(WaitToPlay());
}
IEnumerator WaitToPlay()
{
while (!p4ds.IsInitialized)
yield return new WaitForSeconds(0.1f);
// p4ds.Play(false);
p4ds.Play(true);
print("PLAYING!!!! SelectThis " + p4ds.SequenceName);
}`
The last question helped me a lot in studying this project.
However, an unexpected issue arose.
Please see the captured YouTube video. During playback, the mesh comes out weird once at a time.
How do I fix or find out about this issue?
It's possible something got messed up updating to 2019.4.4f1 but I'm not seeing anything when I run the scenes. It may have to do with a missing prefab.
Sample4DViews_SwordFighting_60fps_FILTERED (Missing Prefab)
I was getting another strange error initially when I started the project from scratch.
"The type or namespace name 'Event' could not be found"
I was able to fix this by Resetting packages to Default and then reloading packages through package manifest, but this may be confusing to others.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.