-
Notifications
You must be signed in to change notification settings - Fork 13
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
Updated Interactive rendering demo #36
Comments
hi. thanks for checking out! the file you mentioned is the right if i remember correctly. i will look into this... bests |
i just create a new f# interactive setup. due to native dependencies and some other annoyances it is not totally straightforward to get fsharp interactive running with rendering windows etc. my demo is given in the walkthrough repository which shows is a collection of technical background information. i made a little video showing how it works: https://youtu.be/899Ld6JZsBA the story however is not over. there is stuff to do:
so far the progress, bests harald |
Thanks for the update! Those are valid concerns and duly noted. Looks straight forward enough. I'll test this as soon as I have time and get back to you! Not sure how much I could help with issues yet, but I'm willing to dive in. |
Works on my machine! nice! And yeah, I see what you mean with the boilerplate. On a semi-related note, it seems that everything is there to make a Safe style template or like this fable electron with a hot module replacement workflow. I'll play around interactive and with some ideas, and let you guys know if I come up with anything useful. |
i just moved the boilerplate code to aardvark.rendering. the file now looks like this
looking forward to more open source activity in the ecosystem :) |
Thanks again for being so helpful and welcoming! The more time I've spent with it the more excited I get 😄 |
media (we know it's a quite bad name) was invented to get server-side rendering of 3d content into html apps and since 3d rendering tends to require huge scenegraphs we were not quite happy with the ELM/Fable-approach recreating the entire SceneGraph/DOM on every change of the model. Therefore we explored the path of differentiating the Model instead of the Scene/DOM and integrating it with our incremental system. Since programmers then need to use the incrementalized model in the view function (composed of So to answer your question, media-apps basically look just like fable/elm apps and
The whole concept has been explained quite well by @ThomasOrtner here, here and here
We sadly never made that work, but it would obviously be great to see that. The hard part here might be to also integrate the Domain-Type-Compiler into the HMR system. (since it needs to regenerate files on model-changes) |
|
looks good! I tested on two different computers with VS, and the only issue was forgetting to set FSI to 64 bit on the other one. |
As an outsider, I'm trying to replicate what was seen in the demo on youtube
LiveDemo.fsx looked like the closest option, but upon inspecting its "loadReferences.fsx" file it looks to be somewhat out of date. (Fshade.dll renamed to fshade.core.dll, #11 implies that that nanovg shouldn't be referenced, etc.).
I guess as a beginner here, I ultimately want to know what the proper steps would be for taking the standard template, and running an interactive rendering session on top of it?
thanks
The text was updated successfully, but these errors were encountered: