Is there any 3d model viewer for reactJS - reactjs

I've been trying to find a good 3d model viewer for reactjs to render .rcs or .rcp files exported through revit and allows the user to rotate and adjust the model to a certain point of view.

Try the Forge Viewer, which uses JavaScript and can be embedded into any webapp via <div>, you can find an example here.
It supports .rcp, but you can use direct .rvt models, which is better as you can see the metadata. See complete list. Note the WebGL/Three.js viewable is extracted, so an end-user cannot access the seed file.

You can also try an Open Source viewer from TT Core team: http://core.thorntontomasetti.com/apps/Spectacles/
Since it's free and Open Source it sure has some limitations and is not being developed as dynamically as the Forge viewer mentioned above, but it's a nice alternative if you don't want to spend a fortune on Autodesk Tokens.

Related

Changing the Bootstrap Carousel properties

I'm just starting out looking at Composite C1. I installed the Open Cph Starter site, and I've seen how to edit, navigate, etc.
Under Media Archive I created a new folder and added my images. Is there a way to direct the Bootstrap Carousel to cycle through the images in my new folder rather then the Sample Media folder?
Composite's available documentation is pretty thorough and helpful. I would highly recommend that you read through it all as it will give you a much better idea of how to best use the Composite CMS. It's a fantastic piece of software with amazing capabilities at customisation and extension, but without knowledge on these topics you may fall short on attempting implementations.
The specific piece of functionality you are targeting is called 'Functions' within Composite. The Carousel you are talking about is most likely implemented using a 'Function'. To change the target folder for the 'Function' you would have to open up the Composite Admin interface, edit your page, and then double click on the 'Carousel Function'. This should display a 'popup' function box editor, with which you can change the target folder selection.
Again this is the basic functionality of Composite described in their documentation. You can view the documentation for functions here: http://docs.composite.net/Functions
I would highly recommend that you read through all their basic user level documentation.

Is it possible to do in silverlight like in flash: loading a flash movieclip at runtime and remotely?

I can't see how to do this because silverlight is compiled.
I don't want to load a video, I want to load a component/object that will be instantiated at runtime. Flash can easily do this as movieclip is also an component/object.
Yes you can, for the nitty gritty details take a look at Managing Dynamic Content Delivery In Silverlight, Part 1.
For a ready made solution you can look at using MEF to provide the framework for building a dynamically compose-able solution. Take a look HERE for a quick start.
What video format are you trying to use? You can certainly load remote video files and play them in Silverlight, but it depends on the format. This article should help you get started.
Check out the MefShapes sample from this presentation. It uses MEF to dynamically load different XAP files. http://www.bendewey.com/blog/index.php/337/silverlight-using-mef-presentation-at-philly-net-code-camp

using silverlight for user interface only

I am planning to make a web application, using silverlight for frontend. requirement is: this frontend will be just an empty shell, and it must be language independent. it will get everything it needs to display and use from server, therefore making it language independent.
i tried to find tutorials, but there is nothing.
as far as i understand, silverlight uses xaml for all its data, so just generating it with whatever language i want shouldn't be a problem. but i don't have any silverlight experience or knowledge, so i'm not sure what is the best way to do this. for example, i don't know how will new content be generated, and what kind of structure silverlight requires.
can anyone give me some starting points?
Your requirements are rather demanding. If i can summarise:
silverlight will be the front end (or container)
you don't know what it will be showing
the content may be dynamically generated
everything, including the visual content, will be retrieved from the server
If i have misunderstood then by all means correct me or adjust your question.
Those requirements are not trivial, especially when you have no prior experience in Silverlight. Fetching data from the server is a normal behaviour in Silverlight, but fetching any generated UI content will be a slow and inefficient use of the technology platform. Silverlight is delivered via the browser, and runs on the client. If you are going to have generated UI, then you may want to consider using straight HTML instead (you can generate the contents using ASP.Net or a scripting language such as PHP). Alternatively, you can generate your required UI views from within the Silverlight app itself by either swapping in and out the appropriate pre-built piece of UI (or controls), programmatically adding new controls into the visual tree, or by loading XAML using the XamlReader class.
This answer may or may not help you much, but like i said before - put some more specific details into your question and you will get more specific answers (either add comments under your question, or post a new more specific question if you cannot edit your current one).
Edit: i have just come across this blog article from Jeff Prosise explaining the use of the INavigationContentLoader interface in Silverlight 4 to dynamically load pages from either remotely or locally. It is a detailed write-up, with a lot of code samples, it may be of use to you.
I would suggest you start at http://Silverlight.net
The "Learn" section has lots of videos that can get you started. http://www.silverlight.net/learn/

Manipulation with GIS content on the web using the WebGL

I have task to create program for manipulation with 3d content on the web. When I said 3d content i mean
on 3d map (witch i have and it is something like *.sdm) which i should load into browser and work some basic operation with it (rotate screen, change camera etc...).
Because i am totaly n00b i want to ask a couple of questions:
1. How to load maps into browser. Just for notice that my map have sdm extension. Is this possible?
2. What i should use for represent 3d content. I am thinking of GLGE framework for webGL, if it is possible of course
What should be the most painless and the most effective way to do this? Maybe i was totally wrong when choose webGL?
Programs that use WebGL aren't mature enough to do what you want. Within the next few years, when GIS applications start popping up it may be possible, but not now.
Also, keep in mind that WebGL is what gives you access to a low-level graphics library. It does not directly have anything to do with GIS data.
You may want to take a look at OpenLayers (2d, javascript based) or WorldWind-Java (3d, jogl/java based). Both of these programs can display map information in a browser.
http://openlayers.org/
http://worldwind.arc.nasa.gov/java/

MindMap in silverlight

I need to put together a team to build a silverlight based application that will read an xml file and generate a Mind Map diagram based on that file.
I am new to silverlight and I need to find out what skills do I need and how difficult is it to do something like this.
I expect the typical Mind Map features available in a commercial Mind Map software, like the ability to open and collapse nodes and to move the nodes around the screen.
There is a pretty well known Silverlight implementation here: http://code.msdn.microsoft.com/SilverlightMindMap
Might get you on your way to assess what is required.

Resources