Java :: Getting Image From Game Model

Feb 26, 2010

So I'm not 100% sure if it's possible, but what I'd like to do is take a model that someone has created for a game, say in Blender or something similar, in various formats, and from that create an image to show on a website. Are there any Java libraries around? Java3D maybe? Or even something in Flash? Ideally you'd be able to rotate the model in some embedded flash app, but I'd settle for a plain old image.

View 2 Replies


Similar Posts:


Java :: 3d Model Viewer In Flash?

May 18, 2010

I want to show a box in 3d on my website, and I was thinking to do it in Flash. How I can show a 3d model?I need something very simple, it's a textured cube, no interaction required, just let the user pan and zoom.There is a 3ds viewer in flash or something like that?

View 2 Replies

Java :: Web Multiplayer Game In FLEX And Java - Build The Server Clients Managing System?

Aug 4, 2011

I'm building a Facebook multiplayer game where the client side is in FLEX and the server side is in Java and I wanted to know if there is a guide on how to build the server clients managing system. When I say server clients managing system, I mean a server which many clients will connect to and will be able to choose between tables to join and play or to create their own table, same way as in texas holdem poker.

View 1 Replies

Java :: Hibernate And Servlets With Adobe Flex + Model View Controller Pattern?

Aug 30, 2010

I am preparing a document for a project. The project's backend is developed in Java, frontend is adobe flex.
I am not sure about the correct way of describe the project in Model-View-Controller way.

For Model layer: Using Hibernate Java beans to implement all the business logic and persistence? For View Layer: Using Adobe flex send post or get request to Controller layer, and get respond in XML format. For Controller Layer: Using Java servlet to handle requests from Flex client?

View 2 Replies

AS3 :: Flash - Separate The Data And The Game Rules In A Model?

Dec 17, 2010

I feel like MVC misses a letter to describe the situation in a game. The model to me seems to consist of two distinct parts:

A group of vars that describe the current game state (these will have setters that send out events on change, and getters so that the view can access what changed)
The rules of the game that determine what happens once a certain input (i.e. shoot();) has been received by the controller (these will update the group of vars as deemed appropriate)

The view will exclusively be reading from 1 while the controller will be exclusively communicating with 2. This is why I make the distinction and want to divide them up into class1 and class2.

My questions:

I am unsure if I should be making this distinction, since I haven't seen it anywhere. If I should; should I make two separate classes, or should I extend class1 with class2? Finally, I am having trouble making sure that only class2 (and not the view) can change the variables in class1 (while still being able to send out an event when a value changes).

View 2 Replies

Actionscript :: Reasonably To Add A 3d Model For A Character In An Isometric Game Built?

Mar 11, 2011

I am developing an isometric game but I want the user to be able to see all sides of their character. Is it possible to import a 3d model into an actionscript (flash)? Also is this a good idea? Or should I stick with the basic 2d sprite idea?

View 1 Replies

Professional :: Drag And Drop HitTest, Dressing A Model Game?

Mar 19, 2010

I need to create a game where you drag and drop clothing onto a body that snaps into place then when the body is fully clothed you click a button to see if the clothing you selected is correct. There will be 4 different areas of clothing with 3 options for each area, one for each area is correct. how to achieve this? In either actionScript 2 or 3.

View 3 Replies

Java :: Convert Byte Array From Action Script To Image In Java And Save It

Jun 25, 2010

I am a .NET Developer, but the question I am having is not related to .NETPlease keep this in mind even if my question sounds very trivial.This is my question:We have an swf in the browser, which communicates with a java extensionIts done using Smartfox Server(Used for MMO apllications)From the swf we are grabbing a portion of the screen as "Byte Array" in action script(3).And in Java, we are calling a function that converts the ByteArray to Image and then saves it.ur Java developer is encountering the errorSo basically, what I would like to know is this:How to accept the object type Byte Array from ActionScript in Java?Whats Java object type that is mapped to Byte Array in ActionScript?The conversion part is easy, I dare say. code in the ActionScript Section

public function savePhoto(uName:String, ba:ByteArray, descr:String):void{
var obj:Object = {};
obj.arr = ba;

[code]....

View 3 Replies

ActionScript 3.0 :: Model View Controller Simple Image Load

Jul 25, 2011

Here I want to load an image. The arrangement produces no errors and no results. I'm really trying to get my head around this design pattern.

[Code]...

View 4 Replies

Java :: Create A Online Game?

Oct 4, 2010

I am going to create a online game, so what is better, JavaFX or Flash?

View 3 Replies

Actionscript 3 :: Build A Game Using Java - Pulpcore?

Aug 10, 2011

[please note this may require AS3 + Java knowledge] Background Information:

I'm trying to build a game using Java + Pulpcore, but I'm fairly new to the scene. The game I'm building could possibly be more performance intensive than I thought, and I know Java would solve my problems with this, but there are a couple questions I have dealing with strict-types, etc.

[Code]...

View 1 Replies

Java :: Creating A Zuma-like Web Game / Which Technology To Use?

Jan 31, 2012

I'd like to port my Zuma-like game to browsers. It's not really complex 2D arcade game, just some animations and particle systems - really similar in complexity to the one I linked to.I'm wondering what technology should I use. I'm thinking about Java, Flash or maybe some solution working without a plugin (SVG, Canvas?). The cost of the technology is also really important to me (I'd prefer a free solution of course, but don't know if it's possible).It's really probable that I'll also port the game to Anrdoid and iPhone. Maybe if I picked Java, I could write one version that would work on both: browsers and Android phones?

View 3 Replies

Java :: Math Behind The Red Ship In Simple Game?

Feb 27, 2012

the game is a little flash component found here:[URL].. i found that link here[URL].. I have been using/converting the examples they give in the second link but cant get my "missile" to behave correctly. I am using java and andEngine combo. Here is what I have right now:

[Code]...

this code just makes the object travel to the upper right hand corner of the screen and it doesnt move after that. so i am missing something

my end goal is to have an object that will chase the users touch coordinates. I know how to have the object follow such coordinates but I dont want it to follow the exact path, but rather the shortest path to the most updated coordinates. so more like an intercept course

View 1 Replies

Java :: Platform For Web-based Multi-player Game?

Sep 28, 2010

I'm developing a web-based fantasy football game. Most of the game is a straight-forward web application built on top of Linux/Apache/Php/MySQL.

I'm trying to figure out how to implement the draft application. The draft date and time will be scheduled in advance by each league's owner. Up to 32 users may be logged on for a given league's draft, and there is no limit to how many drafts may be happening concurrently. The users will take turns selecting players, and each user's turn will have a time limit. I'd like for all the users to be able to see whose turn it is, how much time that user has left to select a player, who they select, and which players are still available. If there are users in the league who are not logged in during the draft I'd like to be able to detect that and automatically assign players to them rather than waiting for the time to run out on their turn. Ideally I'd also like to have a chat window so the users could chat with one another during the draft.

My background is in desktop application development, so if necessary I could write server code in C#/.NET or Java. As far as I can see these are the options: PHP/AJAX - It seems like it would be possible to have all the state for the draft in the database and have the operations for the draft run in PHP triggered by requests from the clients? I guess in this case the draft doesn't start until at least one user logs in, and it seems like it would be a lot of polling requests to the server if I want everyone notified quickly when a user makes a selection.

[Code]...

View 2 Replies

Java - Upload Image Thumbnail To Server Without Uploading Whole Image?

Aug 27, 2009

As far as I know, what I ask here isn't possible, but I thought I'd ask anyway in case I'm missing something.

Suppose you want to let users upload JPG images, and these images are scaled into smaller icons and the original images are always discarded and never required again. Is there any way that would commonly work in most modern browsers that would let the user select a single image on their hard drive, have that LOCALLY turned into a thumbnail and upload the created thumbnail to a server?

In a case where the server just needs a small image, it would be wasteful both in user time and server resources to proceed uploading the whole image, only to immediately discard it. It would be much better to just scale it on the client.

I can imagine three options. Just plain HTML/Javascript, using Flash or using Java. If this were possible with Flash, that would seem like the best option. But reading flash.net.FileReference documentation, it seems that you can upload a file from the HD yes, but you cannot look inside the file you are uploading. On the other hand, if you enable "can access local files" in Flash publishing options, it seems that you can then no longer access the net, so that doesn't work.

With HTML/Javascript, it is possible to load images and display them on a <canvas>, but if you try to access the pixels of these images, you get security violations, so that doesn't seem to work.

Java I hesitate to use, because only 96.52% of my users have it installed, and the file upload dialogs I have seen implemented in Java (at Facebook for example) have not worked well (unresponsive interface). I wonder though if Java is the only thing allowing resizing images from local HD?

View 5 Replies

Java :: Get Started On A Simple Physics Based Game (with Angle / Power)?

Nov 28, 2011

Basically there will be a club and a ball. You can control the power and angle to hit the ball. How do I go about implementing this? Is flash the easiest way to go? I want to implement this as a facebook game. Any game libraries specific to this I can use to quickly implement a basic version? I am comfortable with Java and PHP.

View 1 Replies

Flex :: Building Java Multiplayer Server Game - Difference Between Sockets And Webservice?

Aug 8, 2011

I'm building a multiplayer card game using Flex on the client side and Java on the server side and I wanted to know if I must sockets and the accept method in order to connect users to the server for in order for them to join a game room or create one or to chat.In the past I've learned how to build a game server which both sides are JAVA and connection was in sockets but now days the client side will be in FLEX which has few ways to connect to a Java server (XML,SOAP,BLAZEDS(AMF)) and I find it hard to understand how to write the Java server in order to do all the features of a game server,especially managing the rooms and sending data back to the users.

In the sockets way, when a user was connecting to the server and he had opened a room, this room was opened on a thread and who ever was joined that room then he was connected to the same thread and sending the messages to the right place was easy, so the problem is understanding how to do the same using SOAP or BLAZEDS.

View 4 Replies

Flash :: Silverlight - MVVM - Presentation Model In Flex Vs Presentation Model In Silverlight: Advantages And Disadvantages?

Apr 10, 2011

As it is said here: [URL] "If you do a Google search today for "MVVM and Flex", the first post is by somebody who claims that MVVM is not a good fit for Flex. I couldn't disagree more. Out of the box, the Flex framework makes it much easier to implement a Presentation Model than similar MVVM implementations in Silverlight. That is not to say that there aren't good third-party libraries that make it easier in Silverlight, but without any help, it is easier to do in Flex." So MVVM as LOGICAL CONCEPT can be implemented in both but the way it is implemented in Silverlight requires more Plumbing than Flex.

What prevents Silverlight MVVM to be implemented like Flex ? Doesn't Silverlight have same capability in event system to do the same? If yes why does Silverlight do things more complicated what's the advantages then ? Is it about using Class Interfaces which are more strongly typed? What are the disadvantages also ? For example as for implementing MULTIPLE VIEWS for 1 View-Model does Flex implementation make it also more obvious?

View 2 Replies

Java :: Convert A .swf File To An Image Format?

Dec 16, 2009

I need to take a .swf Flash file, ideally from a URL (but I can read the file from disk also) and create an image preview of it (png, gif or jpeg is fine).I am using Adobe Coldfusion 8 so I'm looking for a Java solution. I need to get the first frame of the Flash movie only.

EDIT: I need to do this on the server in Java/CF at runtime - it's got to be automatic - I'm not looking for screen-grab software.

View 6 Replies

Java :: Get The Print Screen Image From The Clipboard

Jul 16, 2010

Is there a way to Get the print screen image from the keyboard. Say for example I had a image hosting site and wanted a feature where users could paste in an image and simply host it that way. would that be possible? EDIT: Would it be possible with some sort of third party plugin? Are there any existing Firefox plugins which do something similar?

View 6 Replies

Java :: Background Image Property Not Being Set Properly?

Mar 15, 2011

following this exampleI'm trying

import com.extjs.gxt.charts.client.model.ChartModel
ChartModel cm = new ChartModel(graphTitle, "color: #738995;font-weight: bold;font-size: 20px; font-family: arial; text-align: left;");

[code]......

View 1 Replies

Java :: Write Exif Data Into An Image?

Nov 1, 2011

i am trying to write exif data into a image . I am trying to code it in Flash builder. Thus it seems like actionscript is the only choice.

I have found libraries from java. But it doesnt fit it in flash builder.

View 1 Replies

ActionScript 3.0 :: Java Image Data To Flash

Jul 9, 2010

I am curently working on a project. I have to connect Java with Flash and send different data from Java to Flash. But now I have a really big problem

I have to create a print screen image in Java and send the image to Flash so I can set it as the background of my Flash file. I was trying to send the data through an xmlSocket but I dont know in which format to send the data of the image so that Flash can recreate it.

View 0 Replies

Java :: Move Original Source Image Not ImageProxy?

Nov 18, 2010

<mx:Script>
<![CDATA[
//Import classes so you don't have to use full names.

[code].....

View 1 Replies

Java :: Open Source Image Resize And Uploader For A Web Application?

Apr 4, 2011

I would like look for an open source image resize and uploader for a web application. Preferably leveraging on W3C speficication and try avoid need client to install any application.

Target uploading images are limited to 1 ~ 3 and resizing in terms of width & height only.

View 1 Replies

Java :: Use Image As Video Stream While Recording On Media Server?

Apr 17, 2011

I'm creating application where user can record voice message, problem is that recorded file is passed to other encoding servers, that requires both video and audio streams to be present.

how can I use static image to emulate webcam and attach it to NetStream?

ns = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS, watchRecording);
//ns.attachCamera(cam);
ns.attachAudio(mic);
ns.publish(fileName.text, "record");

[+]

Although I don't have access to application on WOWZA server I can negotiate with some one to add few lines and recompile it. So server-side solution in java is also an option here.

View 1 Replies

Java :: Read My .tif Image And Extract The Text Content Into A String ?

Feb 21, 2012

I have an image file, in *.tif format, that looks like this: As you can see it contains an image along with a lot of text. Is there any way to read my .tif image and extract the text content into a String ?

View 1 Replies

Browse An Image And Then Send It To Data Base Using Flex And Webservice Java

May 4, 2011

want to browse an image and then send it to data base using flex and webservice java

View 2 Replies

ActionScript 3.0 :: Dynamic Image Driven Game

Feb 28, 2011

I am making a dynamic image driven game and I am having some problem with preloading all the images at ones, so I am here to seek some help.images is an array that stored the image's url.image_loaded is a variable to see if check how many images have loaded.whenever the image_loaded variables is equals to the images array's length, it will proceed to my desire frame. But for some reason the images isn't showing up all at ones.[code]

View 7 Replies

ActionScript 3.0 :: Scroll Game Image Memory?

Apr 13, 2011

i am making a game with scrolling background. I am using a tiled background.inactionscript I was going to hide background objects off the screen but this cause memory to still be taken up by the hidden images so what do i do?the scrolling background isnt repeating so i could have 4-5 screens of image tiles off screen and made invisible until required.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved