I'm trying to import cad model into blend and then make some storyboard on it.
Idea was to export xaml file from solidworks and then import it to blend.
File open in blend, model is displayed correctly and every thing works until i zoom/move or make any action that results in immediate program crash.
Xaml file is about 5mb, and outside blend works fine in my program i can rotate,zoom it freely with good performance.
Have anyone encountered similar problem, or have good method for converting cad->xaml.
I did when working on an augmented reality feature in a desktop aplication.
My solution was to convert the object to fbx format and use the XMA game studio controls to view it. Then I was able to do what I wish in blend.
Related
Hello I made a spritesheet in photoshop. The process to make the spritesheet was fairly easy. The issue is when importing to Unity I get a white background and I don't know how to remove the white background from my spreadsheet in unity. I have taken the following steps to resolve this issue
First unchecked the background in photoshop.
Second I tried to remove background from each individual image in photoshop.
But no luck can someone help.
You can select the asset and change its type to Sprites, instead of Default (in the Inspector); if you've already done that, how about trying .png files?
In one of the updates to Unity of last year, they removed the option to use the image transparancy as alpha when using .psd files. The option was a checkbox in the import setting of the image, which is no longer shown.
You can however use an import preset with a preset that still has this option set.
What you can do is:
Create a preset when in the texture-importer panel. How to make a preset? What is the texture-import panel?
Open the file which was created (e.g. myimporter.preset). You could use a file explorer in your project and search for the name
Then set these values to 1:
propertyPath: m_PSDRemoveMatte
propertyPath: m_PSDShowRemoveMatteOption
Apply this preset to all your psd files inside unity.
Now, importing a .psd file should work fine with transparancies.
Note: Unity's intent was for users to import .png files when dealing with transparancies. But I found it annoying to manually re-import all my .png files when i made changes to the .psd file.
My goal is to creat a gif from (42) images that I got (screenshots from a graphic after a small rotation).
I managed to find some ways to do it, but each time I must instal some package/component/library (I'm not familiar with those...)
A gif is a succession of images right? Isn't there a easy way to "stick" those image on after an other as a gif? Or there is nothing in visual studio for that (I found somewhere in the project tab ---> add a component ---> image.gif but i can't manage to do anything with it)
I wish to know that if I create any shape like rectangle or ellipse or any polygon in my graphics editor, then how can I get the XAML Code For that. I mean I create any shape (eg. ellipse) in the editor which I have created. The editor has an option (Export to XAML) in the file menu. Then do I have to write some code for that? What is the solution?
I am a little confused by your question because you are asking how to get the code for the shape from your editor yet have already mentioned in the same sentence that it has an "Export to XAML" option in the menu.
I am going to assume that you mean "How can I consume the exported XAML code".
You need to export the shape to XAML (save the file somewhere) and open the XAML file that it creates when you export, this will likely be a canvas.
You can then place the canvas within the usercontrol or window that you would like to display it with.
Instead of using your own editor, you can try Microsoft Expression Blend or Microsoft Visual Studio, so that while design the shapes in the designer, respective XAML code will also be generated in the same file itself.
I don't feel as if what I'm asking is ridiculous. Would I be able to import an image of any kind (png, jpeg, etc) into visual studio and then define regions/hotspots to code as buttons? It would kind of be like an expression blend/silverlight thing but if I already had the design in an image format and I just need to put code behind it.
Expression Studio contains tools that can meet your requirements,
http://www.microsoft.com/expression/products/Design_WhatIsExpressionDesign.aspx
For example, by using Design, you can import existing images and export XAML directly, which can later be used in your Visual Studio/Expression Blend projects.
You have to use such separate tools, such as Visual Studio does not have such features built in.
I have done this with an imagemap and hotspots over button graphics in an image the aspx page.
I was looking for a quick way to generate UML like documentation for my project when I stumbled across the Quick Model menu item in Xcode. I was wondering if there were a way to export these diagrams in a non-platform-specific file format like png or pdf? Basically I want to take some quick visual diagrams (illustrating component relationships) of some of the major classes in our project to management. Does anyone know of an idea?
File > Print, and choose Save to PDF from the gear menu in the Print dialog. Works in nearly every Mac OS X app.
#testing GraphicConverter allows you to open PDF's or files saved to iPhoto and then converted to PNG and crop them with precision to then rejoin in a bigger file. It's quite tedious but works. OmniGraffle should have a CoreData importer but it's not in the Standard version.