Sign in to follow this  
Followers 0
TheOrestes

Unity
PC to Browser

3 posts in this topic

Hi Guys,

 

Not sure if this is the right place to post this topic, please let me know if otherwise. I need some advice on porting front. We have pipeline set in such a way that content is being done on 3d studio max with DirectX 9 shaders. The file format we are working on is VRML format which supports direct DirectX shaders inside the mesh definition. Everything is smooth and fine till this point. However, we are trying to figure out cross platform strategy, where the 3d content will be rendered on the browser as well. Obviously, had it been started with Unity Engine, there was little to worry about ( correct me here ) Or if entire codebase was done keeping in mind this cross platform work in future, we would have faced less issues.

 

obviously, directx shaders won't run on browsers. I came across http://threejs.org/ & http://www.web3d.org/x3d/   as the closest thing which might do the trick for me. VRML mesh format is absolute requirement & these 2 things seems like supporting it. Also, for porting shaders from HLSL to GLSL, I am thinking of using https://github.com/aras-p/hlsl2glslfork .

 

To be honest, I have never worked on browser based technologies before, but am quite comfortable with C++ & DirectX. Hence, I wanted to ask folks around here if this is the sane approach for porting? Please let me know if there is anything else I should keep in mind. Please also point me to any other tools or codebase which handles rendering of VRML mesh formats on Web.

 

Looking forward to hear from you.

 

Cheers.

Edited by TheOrestes
0

Share this post


Link to post
Share on other sites

I think your options may be to implement a plugin for a web browser yourself (thats what Unity does to run on browsers) or use something like webGL and change your code to use open GL rather than direct x - I'm not sure if there is something available for direct x rendering in browsers

0

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for the reply. Yes, absolutely! am quite aware of the fact that DirectX cannot be used on browser, hence all the questions related to porting existing code to browser compaible codebase. However for that, does above mentioned approach makes sense? Am going to explore HLSL to GLSL converter at first place to see its correctness & how much extra work that should be done. If shaders am encountering are the simple ones, then re-writing them again shouldn't be much of a problem. The main issue is choosing between three.js & X3D. Any inputs on that would be great.

 

Once again, thanks for the reply. :)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • By MetalTug
      I'm a college game design major, but I have also picked up on some basic programming.  I've done some stuff in Javascript, AS3, Visual Basic, Stencyl, and I'm now moving into using C# in Unity.  Just as a general programming question, what are some tricks/techniques that any programmer can do, regardless of coding language, to make sure that their game runs as smoothly as it possibly can, in terms of frame rate?
    • By Thyawesome1017
      I have experience with unity and C# script, I have also purchased the Google Developing Console to upload games to the play store. The problem I have faced is how much work and how tedious it is to complete a game on your own.  So if anyone wants to partner up on a simple 2D mobile game email me at laurens.fernando17@gmail.com.
    • By HugoLOI
      Hello everyone,
          For those of you who are into puzzles, pixel arts and family stories, here is a game we started with my little brother:   https://www.kickstarter.com/projects/755210943/kingscape-an-indie-game-with-odd-characters   Kingscape sets up a lonely character, the king's son, who invents off the wall adventures with numerous imaginary foes including but not limited to: cartoonish mad ducks, perverted zombies, bloodthirsty sales reps, explosive pigs. Your job is to defeat them all.   We're looking for positive criticism, feedback, toughts and support from people who enjoy the game pitch. Feel free to tell us what it evokes for you!     Cheers, Hugo Loi    
    • By kyuubi
      Hello everyone,
      We are looking for some talented artists to join our team in developing a new classic style adventure game.
      Open Positions
      Our team is currently looking for two artists, one 3D model artist and one 2D concept artist.
      2D Concept Artist
      Help us translate the concepts into visuals to improve our 3D model workflow
      3D Artist
      Help with creating 3D environments, buildings, props, dressing etc.
      3D Animator
      Someone that can bring our models to life and make them feel less static.
      What we are looking for
      We have a fun and talented team working on an ambitious project, but we need help in creating 3D assets. We need people with experience, comfortable with defining streamlined workflows and producing work in a quick pace.
      We also need someone to help bring our ideas to life in 2d concepts first to better improve our workflow in creating the 3D scenes.
      Although it is a hobbyist project, we take the project seriously and we are committed to finish the project, so we need people that can commit to the project with the goal to end it.
      The ideal candidate
      Is used to work for milestones and timelines Used to working in a collaborative approach within a team environment Has time available to be present on a regular basis, appear on slack and provide updates Can output work on a fast pace That understands what it means to work in a project The skills
      For 3D Modeler
      Skilled in creative 3D environments, including props and scene dressing Ideally that has worked with Unity before Bonus points if you have talent for character creation Bonus points if you have actually worked on a title until the end. Experience with Unity (double bonus) For 2D Concept Artist
      Experience with concept art Bonus point if you have created concepts for a game Bonus points if you have actually worked on a title until the end. Experience with Unity (double bonus) For 3D Animator
      Experience animating humanoids and animals Experience animating inanimate objects Experience animating environments (vegetation, ocean etc) Bonus point if you have created concepts for a game Bonus points if you have actually worked on a title until the end. Experience with Unity (double bonus) The Background
      The game takes place in a world almost submerged by water, where all the land that is left are small islands, where the remains of the human race try to survive after the cataclysm known as the Seven Tides.
      You play the story of Jon Riley, a young boy living in the Island of Chelonii, in the Eastern Kingdom of Khalandrie. After a visit from an old mysterious acquaintance, his grandfather, the only relative Jon has mysteriously disappears and Jon embarks on a quest to find what happened to him, while discovering the truth about himself, and the underlying mystery of the Island.
      For a full description of the game check out The Game page. (user: seventides pass: indie)
      The Mechanics
      The game will be mainly feed from the traditional mechanics of adventure games popular in the 90’s with games like The Broken Sword, Monkey Island, The Longest Journey, Full Throttle, The Dig etc.
      It also introduces some RPG elements that promote exploration in order to immerse the player deeper in the world. The main driver of the gameplay experience is going to be the story as it's traditional in this genre of games.
      The Art Style
      Currently the adopted art style is a flat shaded, low poly style. You can see some examples below and the full gallery here (user: seventides pass: indie). Please not all of the screens are work in progress as we are working in iterations to move faster.

      The Music
      We are lucky to have an amazing musician and talented producer in the team that is composing amazing musical scores for the game. If you want to hear some music samples get in touch!
      The Tools
      The game is being developed in Unity 5 in 3D low poly flat shade style. We are currently using the following main tools:
      Unity 5 - Game engine Dialog System - Dialog System for non linear interactive dialog databases Adventure Creator - State machine for the traditional adventure game workflows FMOD - Sound Engine Blender - 3D Modelling Sculptris - 3D Char sculpting Slack - Communication Trello - Task Management Our Trello Board!

      The Team
      We are a team mostly composed by professionals in our areas but new in applying our skills in game development.
      Game Designer/Project Lead - Background in Computer Science and working professionally as the technical director of a leading web development agency in Sydney. Duarte brings maturity in project management methodologies and technical leading. An obsessive adventure game player and very seasoned technologist, Duarte is the founder of the project. Lead Developer - A very experienced developer, Joao is the main man behind the implementation in the Unity engine. He will translate the specs and game design workflows into the engine. He is a professional web developer currently working in Vienna, Austria. Music Producer/Sound Design - A professional musician and music producer, Richard is a guru in enhancing the experience with sound and musical scores. He works professionally as a musician and music teacher and lives in London. 3D Artist/ Character Design - An aspiring musician and hobbyist game designer and 3D artist, Kevin is mainly responsible for character art. He currently lives in Puerto Rico. 3D Artist/ Environment Design - A hobbyist 3D artist, Joshua is mainly responsible for environment art, buildings, landscapes and props. He lives in London. If you are interested
      If you want to join the team, get in touch and I will supply the full game design document, our wiki containing character references, sound design cues etc and provide access to our Slack team chat.
      If you are interested contact me through private message.
      Looking forward to hear from you!
    • By Edoardo396
      Hi guys, I'm trying to make a crossword puzzle game for practice.
      Sorry but I've no idea on where to start.
      It should be basic game where the user must enter the word in the correct place and nothing else. (I am sure you know how to play crosswords!)
      I have to export it to Android and (if possible) to iOS.
       
      What engine would I want use?
      I thought to use Unity in order to develop it but I'm not very good with it (and, honestly, I don't like it that much)
      How is Unreal Engine 4 with Basic 2D Games like this one? If I could use UE4 it would be better because I know more C++ than C#. 
      I also thought about making this app with a "basic" IDE such as Android Studio (and) xCode but I would have to do the work twice and I want to avoid that if possible.
      Does anyone know if there is a library or something useful for making crossword games?
      Thank you very much for the answers and have a nice day!
      I apologize for the bad English but I'm not American/English.
      Edoardo