To give you an idea of what the SDK can do, take a look at the following example and resulting render.
import { Core3D, Material, Model, Position } from '@core3d/sdk'; import { Adapter } from '@core3d/sdk-adapter-three'; const core3d = new Core3D({ apiKey: '...', createAdapter: ctx => new Adapter(ctx), }); const model = await core3d.loadModel(Model.Tee); const material = await core3d.loadMaterial(Material.OxfordChambray); const graphic = await core3d.loadGraphic('/stripes.png'); const design = core3d.createDesign({ model }); material.setColor('#9d9aae'); design.assign(material); const mesh = design.findMesh(mesh => /front/i.test(mesh.name)); const assignment = design.assign(graphic, mesh); const position = Position.for(mesh) .from(Position.Center) .move(Position.Right, 18, 'cm'); assignment.setPosition(position); assignment.setRotation(0.25); await design.render(); const scene = await core3d.loadScene({ size: [512, 512], target: design, }); scene.fit(); scene.update(); const screenshot = await scene.screenshot();
The result from the call to scene.screenshot()
.
The Core3D SDK offers a variety of capabilities. Explore what's available, use only what's needed.
Apply and adjust a variety of resources in real-time: materials, graphics, decals, patterns, text, components (buttons, zippers), and more.
Visualize your design across compatible model variants: flat, folded, hanging, and more.
Take advantage of the latest in modern PBR workflows for fast, high-quality, and flexible texture generation.
Generate top-notch, high resolution renders of your designs.
Export optimized models for platforms like Shopify, Facebook, etc.
Bring along your WebGL library of choice (Three.js, Babylon, a custom implementation, etc.).
Automatically scale textures to an accurate size on-model and position graphics using metric and imperial units.
Bootstrap quickly with Core3D's standard model and texture libraries, or bring your own assets.
Capture static images of your designs on-the-fly.
Export compiled pattern files, ready to send to the factory.
Limit resource placement to specific areas of your model.
Request marketing or lifestyle images for your designs.
Core3D offers a variety of potential use cases, below you'll find a short list of ideas. We're excited to see what you build.
Make waves (and sales) with 3D in Ecommerce.
Forge new paths at the forefront of 3D in fashion.
The Core3D Platform could be right for you. Access the full SDK feature set without writing any code.
We can help! Core3D offers a variety of services including implementation, guidance, consulting, and 3D design and development to help you grow your distinct library of 3D assets.
Access to the SDK and API are currently granted in a limited capacity, and pricing is determined on a case-by-case basis based on the proposed application and expected usage.
If you're interested in utilizing the Core3D SDK and API, please reach out and we can discuss your use case.
Contact Sales