• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

View in 3D

Status
Not open for further replies.
Level 14
Joined
Jul 12, 2011
Messages
1,371
I just noticed that in a model description a View in 3D button has poped up.
I have seen it again some years before but one day it vanished and here it's back again.
Was it my computer's fault or my browsers fault that it has gone for those months or it has gone for a reason (meaning that the staff has removed it)?
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,183
I did not make this model viewer. GhostWolf did. He made it a few years ago and it was hosted on Hive. Last year due to ZT and all that, he did not want it hosted here anymore. A few days ago, I was given the permission to put it back.

I was planning on making my own and was pretty far in the implementation but it has been dormant for a few months due to my bachelor's thesis.
 
Weird I think there was such an issue like this with it before.
I'm a Windows 8 user with Mozilla Firefox 21 (latest version).
I also tried disabling ad blocker and any other Add-ons(ad blocker is disabled for hive anyway).

Edit: Went through the options and couldn't find anything related, although when the page is loaded it does also load the button to view the model(although doesn't actually show it).

Edit2: Checked through the page script(if even useful).
It shows that the code is there, although still isn't showing up at execution. >.>
JASS:
<tr>
	<td class="thead">
		Images
		<span style="float:right">
	  <script type="text/javascript" src="/model_viewer/check_compliance.js"></script>
		<a style="display:none" id="modelViewerLink" href="/model_viewer/index.php?q=fqcyak" onclick="return popupModelViewer(this)"><img src="http://www.hiveworkshop.com/forums/images_custom/style_wc3s/buttons/preview.gif" /></a>
		<script type="text/javascript">
		if(checkCompilance())
		{
		  $('#modelViewerLink').show();
		}
		</script>
		
		
		
		
		
		
		</span>
	</td>
</tr>
 
Last edited:
Level 29
Joined
Jul 29, 2007
Messages
5,174
The button is supposed to show up only if your current setup (computer, or more specifically your graphics card, and browser) can actually run the viewer.

If you think you should be able to run it, you can just open the page manually. If you really can run it, and the button isn't showing, post here saying so.

The page itself is:
Code:
http://www.hiveworkshop.com/model_viewer/?q=XXXXX
Where you replace the X's with the model ID, which you can see on every model page on the Hive under "Model-ID".

If you want to test my dev version, you can add this to the url:
Code:
&custsrc=https://dl.dropboxusercontent.com/u/56104035/viewer.js
It fixes some issues and implements new features (which are most likely going to have their own new issues), such as texture animations, global sequences, and geoset animations.
I am assuming it still lacks full support for these features, because I wrote them based on a few models, and there are probably other variations I didn't see yet.

If you have any suggestions, feel free to suggest.

If you see any errors, feel free to post here.
 

Roland

R

Roland

Well, Since the Viewer's back now we can check simply modified models! So the Model moderators can reject it immediately..
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Not all video cards are supported by Firefox. Take a look at this:
http://www.sitepoint.com/firefox-enable-webgl-blacklisted-graphics-card/

I copied the link that I got while running Chrome and pasted the url into Firefox and ends up working like it should. Derp, button YUNO show up on screen.

Apparently my old check is no longer valid.

Can you check with this page again? changed it a little (or just see if the button now appears, the check on the site has been updated).

On an unrelated subject, what would you people prefer, that Unanimated will be as it is now (like it is in Magos), or should it render properly, as in apply all the animation types except for actual meshes moving?
 
Last edited:
It says the same message.
Although when I checked on Chrome it said "You are good to go.".

Checked on the maps(whoops) some models at school with Firefox and functioned fine.
Idk Ralle it does work on Firefox although the button just doesn't appear(using the same function as the link you game me?).

I might or might not have a AMD/ATI card, so I'll check later(not sure >.<).
 
Last edited:
Level 49
Joined
Apr 18, 2008
Messages
8,441
The feature is pretty cool, but lacks some stuff like animated texture and general material animations.
But hell it is damn fine now.

GhostWolf is working on it all the time, but he needs some help. If any programmers\modelers are available, you should show up in chat and help him out with it. He frequently asks questions and I'm sure some members of our community will be able to answer them better than me.
 
Not all video cards are supported by Firefox. Take a look at this:
http://www.sitepoint.com/firefox-enable-webgl-blacklisted-graphics-card/
Name: "ATI Radeon HD 5700 Series (Microsoft Corporation- WDDM v1.20)".
Driver version: "8.97.10.6".

Went by the instructions and Firefox now supports it like Chrome does. Thanks.

If you know of something that I missed, please write it.

Strangely enough this model here doesn't load any textures. I have checked a thew other models and works just fine though.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Your particles don't seem to be affected by other nodes(as they should be):
http://www.hiveworkshop.com/model_viewer/?q=7bi4ve

This is caused by the model lacking keyframes and me injecting zero keyframes instead.
Without injecting, weird things happen (models can face the ground, etc.).
For a fast workaround I am now only injecting keyframes to bones and helpers, but I am expecting this would break other models.

While having animation loop repeat to never, animations stop when ended the sequence, except for the particle emitters. Such as: http://www.hiveworkshop.com/model_viewer/?q=n3n2m1

EDIT: Also animated textures don't seem to work

Fixed.

Strangely enough this model here doesn't load any textures. I have checked a thew other models and works just fine though.

The BLP -> PNG converter Ralle is using fails at some textures, that seems to be one of them.
 
Last edited:
Level 29
Joined
Jul 29, 2007
Messages
5,174
Added a new mode of hardware skinning that supports any number of bones (unlike the 61 bone limit on the previous one).
By "any" I mean that I set it to 255 bones, but it can be set to more if needed (which shouldn't ever be needed).

If your computer doesn't support it, the viewer will fallback to the previous check of 61 bones, and finally if you can't run either of them it will go to software skinning.

Now that animations don't replay by default, how about making the animation icon be a button that plays the animation on click?
Also, how about making a progress bar where you can drag the current playback position back and forth?

I don't know, I kind of like the minimalistic UI.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
"Default" isn't a state. The animation is either looping or it isn't. For a minimalistic UI, having a separate "default" state is pretty weird too.

Default lets the model (artist) choose.

Tried to change the looping icon into a button, but even for such a simple thing, lo and behold, browser compatibility is such a glorious thing (check of FF and Chrome).
Can't be arsed to try and tailor nonsense just so these worthless browsers that fail to do the simplest things in accordance to specifications show every tiny change correctly.
 
Status
Not open for further replies.
Top